This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

passing a variable to a stylesheet when using a batch file


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]