[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Passing Xml as a param

Subject: Re: Passing Xml as a param
From: JBryant@xxxxxxxxx
Date: Mon, 25 Jul 2005 15:15:05 -0500
pass xml as a parameter
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@xxxxxxxxxx> 
07/25/2005 03:06 PM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc

Subject
 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="&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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.