This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Error...
- To: Cheun N Chong <cnc99r at ecs dot soton dot ac dot uk>
- Subject: Re: Error...
- From: Jeni Tennison <Jeni dot Tennison at epistemics dot co dot uk>
- Date: Wed, 24 May 2000 18:39:19 +0100
- Cc: xsl-list at mulberrytech dot com
- References: <Pine.SOL.4.20.0005241525590.26826-100000@penelope.ecs.soton.ac.uk>
- Reply-To: xsl-list at mulberrytech dot com
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@epistemics.co.uk
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list