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
|
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
|