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

passing arguments in the xml-stylesheet line

Subject: passing arguments in the xml-stylesheet line
From: "Todd Binder" <todd_binder@xxxxxxxxxxx>
Date: Thu, 6 Dec 2001 15:56:20 -0500
asp xsl arguments
i currently have the following line at the top of my XML file to translate
it for display

<?xml-stylesheet type="text/xsl" href="training_city.xsl"?>

is it possible to pass an argument to the given XSL file that would be
interpreted within the XSL file with the <xsl:para name="city"/>

so the line in my XML file would look like the following...
<?xml-stylesheet type="text/xsl" href="training_city.xsl?city=5921"?>

i am aware that i could use ASP along with the Msxml2.DOMDocument to
addParameters to an XSL file, but i wanted to see if i could do it from
command-like syntax, and avoid having to use ASP.

Todd

Todd Binder
todd_binder@xxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.