I've not tried anything like that, so I can't tell you whether it's
possible. However, if it is not, you can put the XML fragment into a file,
pass the filename as a parameter, and then get its content with the
document function.
Jay Bryant
Bryant Communication Services
(presently consulting at Syngergistic Solution Technologies)
"Marzka, Jeremy" <JMarzka(_at_)kaydon(_dot_)com>
07/25/2005 03:06 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
cc
Subject
[xsl] Passing Xml as a param
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="<session><user>test</user></session>"
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>
--~--
--~------------------------------------------------------------------
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>
--~--