Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Nux | Oracle database connections to use collection() in XQuery

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
  • To: Anoop kumar V <anoopkumarv AT gmail.com>
  • Cc: Elliotte Harold <elharo AT metalab.unc.edu>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Nux | Oracle database connections to use collection() in XQuery
  • Date: Tue, 27 Dec 2005 11:26:30 -0800

In my case, unfortunately however, the XML document data is stored in a column of type LONG - and Oracle has little to no functions to work on LONG - hence I need to read / stream this data and use an external tool (like NUX, Saxon) to parse this data using Xquery...

I see.
Just run a JDBC SQL query that selects the LONG column of interest, iterate over the result set, parse each document with XOM and apply XQuery, then do whatever post processing is required. You could use Nux for that, but then again, you might not even need any kind of XQuery functionality for doing this.

Wolfgang.




Archive powered by MHonArc 2.6.24.

Top of Page