Re: Error...

Subject: Re: Error...
From: Jeni Tennison <Jeni.Tennison@xxxxxxxxxxxxxxxx>
Date: Wed, 24 May 2000 18:39:19 +0100
At 12:08 PM 5/24/00 -0400, Warren Hedley wrote:
>Cheun N Chong wrote:
>> cnc99r213% xmlxsl -in ticket.xml -xsl ticket2xml.xsl expire='5 May 2000'
-out out.xml
>> 
>> Invalid option: expire=5
>
>This looks very much like a problem that I had when I was using a
>UNIX shell script to run Saxon.

I overlooked the 'Invalid option' lines.  Cheun, different XSLT processors
use different methods for reading in parameters.  A quick look at the
LotusXSL archive revealed that LotusXSL takes in parameters using -param
and that your command line should read:

cnc99r213% xmlxsl -in ticket.xml -xsl ticket2xml.xsl -param expire "'5 May
2000'" -out out.xml

[Untested]

Cheers,

Jeni

Dr Jeni Tennison
Epistemics Ltd, Strelley Hall, Nottingham, NG8 6PE
Telephone 0115 9061301 ? Fax 0115 9061304 ? Email
jeni.tennison@xxxxxxxxxxxxxxxx



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


Current Thread