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

RE: passing in XSL parameters using Saxon

Subject: RE: passing in XSL parameters using Saxon
From: sara.mitchell@xxxxxxxxx
Date: Thu, 5 Dec 2002 14:49:25 -0500
saxon xsl parameter
I've experienced a problem like this and finally tracked it 
down to spaces in directory names. This was on a Windows
box. You may need to put quotes around the full file name. 

Sara

> -----Original Message-----
> From: Alistair Power [mailto:alistair.power@xxxxxxxxx]
> Sent: Thursday, December 05, 2002 7:55 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  passing in XSL parameters using Saxon
> 
> 
> Hi There,
> hopefully a simple one - can you see anything wrong with this 
> syntax? It's
> driving me up the wall! I am trying to do a command line 
> transformation
> using Saxon, passing in a parameter of a filename, and the 
> Saxon parser
> states I am using a bad param=value pair, yet as far as I can see, my
> command line is using the correct syntax. I am in the correct 
> dir, with the
> correct filenames on the command line (in windows).
> 
> 
> my input is essentially -o outputfile.xsl xmlToTransformOn.xml
> Stylesheet.xsl param=value as per the instructions with Saxon.
> See below cut and pasted directly unedited from the dos prompt):
> 
> -----------cut n'paste from DOS--------------------------
> java -jar C:\java\saxon7-1\saxon7.jar -o test_transformer.xsl
> disch-template.xml generator.xsl mapping-file=mappings-discharge.xml
> Bad param=value pair on command line
> SAXON
> Usage:  java net.sf.saxon.Transform [options] source-doc style-doc
> {param=value}...
> Options:
>   -a              Use xml-stylesheet PI, not style-doc argument
>   -ds             Use standard tree data structure
>   -dt             Use tinytree data structure (default)
>   -o filename     Send output to named file or directory
>   -m classname    Use specified Emitter class for xsl:message output
>   -r classname    Use specified URIResolver class
>   -t              Display version and timing information
>   -T              Set standard TraceListener
>   -TL classname   Set a specific TraceListener
>   -u              Names are URLs not filenames
>   -w0             Recover silently from recoverable errors
>   -w1             Report recoverable errors and continue (default)
>   -w2             Treat recoverable errors as fatal
>   -x classname    Use specified SAX parser for source file
>   -y classname    Use specified SAX parser for stylesheet
>   -?              Display this message
> ---------------end cut n' paste---------------------
> 
> Am I doing anything blatently wrong? :) Thanks for your comments,
> Alistair
> 
> Alistair Power
> Research Consultant
> 
> ***********************************************
> CSW Group Ltd
> 4240 Nash Court
> Oxford Business Park South
> Oxford
> OX4 2RU
> Tel: +44/0 1865 337400  Fax: +44/0 1865 337433
> Web: http://www.csw.co.uk
> 
> Delivering value to our customers by deploying innovative, web-based,
> products and solutions for the integration of processes, data 
> and knowledge
> ***********************************************
> CSW's XML Summer School 27th - 31st July 2003
> Wadham College, Oxford
> Further information: http://www.xmlsummerschool.com
> ***********************************************
> Legal Disclaimer: http://www.csw.co.uk/disclaimer.htm
> ***********************************************
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 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.