|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Passing a document to xsl stylesheet
Hi All,
I have a variable in stylesheet with a document as a value like the following:
<xsl:variable name="Tasks" select="document('http://localhost/tamino/KMS/Projects?_xql=Project')//Task"/>
I have tried to use a parameter and pass a value to it but it doesn't seem to work.
<xsl:param name="Projects"/>
<xsl:variable name="Tasks" select="xalan:nodeset($Projects)//Task"/>
and in my Java:
transformer.setParameter("Projects", dProjects.getElementsByTagName("xql:result"));
where "transformer" is the Transformer object and "dProjects" is a Document object.
Please help!!
Thank you,
Antony
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








