I have been
successfully using Xalan to transform DOM trees for some time. We now have a
requirement to do incremental transformations on large streams of data (such as
XML which is a result of long SQL queries). I then want to write out the
transformed data either in small chunks, or as one large output
file.
It seems like I
should use SAX events instead of DOM, but can I still use Xalan for the
transformation of each individual chunk of data when it arrives? For example, if
I encounter an XML element in the stream, I would want to convert each element
to an HTML TABLE row as it is found.
Ideally I would take
a data input source as a stream, format it as an incrementally built XML
document (adding elements on the source side), read the XML as its built and
transform it to the output. Can something like this work with
Xalan?
Any ideas are most
appreciated.
Thanks,
Cory
BEGIN:VCARD VERSION:2.1 N:Isaacson;Cory;;;(Compuflex) FN:Cory Isaacson (Compuflex) ORG:CompuFlex International TITLE:President & CTO TEL;WORK;VOICE:(818) 884-1168 TEL;CELL;VOICE:(818) 359-2615 TEL;WORK;FAX:(818) 884-0178 ADR;WORK:;;21124 Banlynn Court;Topanga;CA;90290;United States of America LABEL;WORK;ENCODING=QUOTED-PRINTABLE:21124 Banlynn Court=0D=0ATopanga, CA 90290=0D=0AUnited States of America EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010327T203314Z END:VCARD