This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: using DOM as an argument to the document() function ...
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 10 Sep 2002 18:02:21 +0100
- Subject: RE: [xsl] using DOM as an argument to the document() function ...
- Reply-to: xsl-list at lists dot mulberrytech dot com
If you are using a Java processor, you can write a URIResolver that
intercepts the URI passed to the document() function and returns a
DOMSource object.
But the alternative, which also works on Microsoft, is to pass the
second DOM as a parameter to the transformation.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Ram Cherukuri
> Sent: 10 September 2002 16:34
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] using DOM as an argument to the document() function ...
>
>
>
> can I pass a DOM objct as an argument to the document()
> function, instead of
> specifying a physical file name?
>
> I have two xml documents and a stylesheet that are loaded into DOM
> documents. how do I specify the second xml DOM document as an
> argument to
> the document() function in the xsl DOM document?
>
> please suggest.
>
> thanks in advance!
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list