Saxon 8.x provides an extension function that enables you to parse a string
of lexical XML and turn it into a tree that XSLT can manipulate, but there's
no similar function in 6.5.3 (or in the standard). The thing to do is to put
the lexical XML into a file, and then read it with the document() function.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Marzka, Jeremy [mailto:JMarzka(_at_)kaydon(_dot_)com]
Sent: 25 July 2005 21:06
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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>
--~--