--- [EMAIL PROTECTED] wrote: > >Starting with the oldest method, one could use a > DOM > >builder I wrote a year ago or so, to get a DOM > tree, > >on which to operate. > > Not really recommended in this case. Xalan can run > from a DOM, but that's > mostly for use if you already have the DOM in > memory; it's much less > efficient than letting Xalan build its own "native" > data model.
... as if anyone who uses XSLT really cared much about performance... :-) Yes, this is probably not optimal way to do it. I just answered question of "can it be done". Going via native SAX route is probably the way to do it -- xsl transforms and dom building are 2 main use cases where SAX interface does pretty well. StaxSource probably works reasonably ok too. -+ Tatu +- ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367