This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: using DOM as an argument to the document() function ...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]