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

passing a variable to a stylesheet when using a batch file

Subject: passing a variable to a stylesheet when using a batch file
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Thu, 13 Apr 2000 10:41:10 +0200
bad param value pair
Hi all, 

Has anyone tried (successfully?) to pass a variable to a stylesheet, when
the XSLT processor is called from a DOS batch file? 

I tried to do the following: 

D:\PROJECTS\psa\xml>psa2web.bat date=20000413

With this line in my batch file: 
xt  dummy.xml newpage.xsl ..\site\software\pages\various\new.htm %1

And get the following error message: 
usage: java com.jclark.xsl.sax.Driver source stylesheet [result]
[param=value]...

I tried saxon as well, which complains of a bad param-value pair. 

Is there a way? 

Linda


 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.