|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: two DOMs, one stylesheet
> > Is it possible to process two files, foo.xml and bar.xml, > > using blort.xsl, and have blort.xsl build and use a DOM for both foo.xml > and bar.xml. > > > > Does that make sense? How would one accomplish this? > > Just use the document() function. Implementations of document() can only use a URI that points to a file o' bytes that need to be run through a parser, right? She'll have to serialize the DOM for one of her XML docs to disk and then read it back in, unless she wants to code a custom URI scheme and resolver for whatever XSLT processor she is using, to access in-memory objects. I'm not sure letting people use DOM objects rather than files as input to XSLT processors was the best idea. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ 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
|

Cart








