xsl-list
[Top] [All Lists]

Passing Xml as a param

2005-07-25 13:06:14
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>