RE: Feeding DOMs to XSLT Processors
> Somewhere along the way, I got confused. Up until yesterday > afternoon, I was of the thought that XSLT Processors such as XT, Xalan, > SAXON, and Oracle's XML Parser for Java would accept standard DOM (Document/Node) > objects as input. But, after having gone through all of > them, I now am frustrated by the apparent fact that they are all file-centric. SAXON will accept input from a stream of SAX events. There is a tool somewhere (I think John Cowan's site, http://www.ccil.org/~cowan ) which will generate a stream of SAX events from a DOM. Of course this still means rebuilding the tree, but at least the data isn't reparsed. What I can't do at all easily is use an arbitrary user-supplied DOM in place of my own tree structure. I did it at one stage and it was very slow. I thought James Clark announced that the latest xt would do it and that that was also very slow (but perhaps I'm mistaken). Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format