[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Pass XML document (*not* file path!) as parameter to XSLT
Subject: RE: [xsl] Pass XML document (*not* file path!) as parameter to XSLT From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 17 May 2007 23:07:20 +0100 |
> What's the proper way to pass an XML document as a parameter > to an XSLT, without writing that document to a file and > passing the filepath to the XSLT ? It depends entirely on which XSLT processor you are using. > > In Java code, i create a org.dom4j.Document Even within the confines of the JAXP interface, it's entirely product-dependency what kinds of object can be passed as the value of a parameter. In Saxon you could pass new net.sf.saxon.dom4j.DocumentWrapper(dom4jDoc) but that won't work for other products. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Pass XML document (*not* file, david bessire | Thread | [xsl] Pass XML document (*not* file, david bessire |
Re: [xsl] Tutorial for collection(), Colin Paul Adams | Date | Re: [xsl] How do I change a XSL sty, Abel Braaksma |
Month |