[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Passing Xml as a param


Subject: [xsl] Passing Xml as a param
From: "Marzka, Jeremy" <JMarzka@xxxxxxxxxx>
Date: Mon, 25 Jul 2005 16:06:14 -0400

Hi,

I'm using instant saxon 6.5.3 and trying to pass xml as a parameter that
can later be accessed as a nodeset. Is it possible to do this?

saxon.exe index.xml index.xsl
state="<session><user>test</user></session>"

or

saxon.exe index.xml index.xsl
state="&lt;session&gt;&lt;user&gt;test&lt;/user&gt;&lt;/session&gt;"

Then somehow in the style sheet access: $state/session/user

Thanks
Jeremy


Current Thread
Keywords
xml