streaming "for xml" to sax xslt-transformation

C

clogwog

hello,

i'm wondering if anybody can point me to an example how to stream the
resultset (containing XML) to a SAXParser ? the query gets returned
with: "FOR XML RAW" so the xml is broken up into multiple records.

for example:

record1:
<row UNIQUEID="53380601" a="53" /> (.... heaps more of these records
....)<row UNIQUEID="5311111"

record2:
a="125" /> <row UNIQUEID="5660101" a="165" />

and i can't seem to figure out how to combine the records together in
a streaming way (i know i can just collect the complete xml by
appending them to a StringBuffer, but that might get realy realy big)

any idea's are very welcome.
regards,
tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top