Re: two DOMs, one stylesheet

Subject: Re: two DOMs, one stylesheet
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 16 Jun 2000 10:08:02 -0600 (MDT)
> > 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: in Denver, Colorado, USA 

 XSL-List info and archive:

Current Thread