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

Re: RE: Problem with this XSLT - Help!!!!!

Subject: Re: RE: Problem with this XSLT - Help!!!!!
From: Tim Meals <tim@xxxxxxxxxxxx>
Date: Wed, 18 Feb 2004 12:04:39 -0800
org.apache.xalan.xslt.process param
Try specifying your parameter with single quotes, or maybe escaping single quotes. Xalan doesn't distinguish between string params like libxslt does. Try one of the following:

java org.apache.xalan.xslt.Process ... -param ID 'U-05585'

-or-

java org.apache.xalan.xslt.Process ... -param ID "'U-05585'"

If your shell is interpreting the single quote characters.

Tim

On 02/18/04 09:35:13, cknell@xxxxxxxxxx wrote:
As an educated guess, I believe that Xalan interprets the "-" in
"U-05585" as the beginning of a new command-line switch. My first
inclination is to quote the parameter's value on the command line,
like this: -param ID "U-05585"
--
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Joe Fawcett <joefawcett@xxxxxxxxxxx>
Sent:     Wed, 18 Feb 2004 17:22:44 +0000
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  RE:  Problem with this XSLT - Help!!!!!

>I'm using then following generic command in a shell script:
>
>		java org.apache.xalan.xslt.Process $1 $2 $3 $4 $5 $6
$7 $8
>$9
>
>java org.apache.xalan.xslt.Process -in /u/in.xml -xsl /u/find.xsl
-out
>/tmp/test.txt -param ID U-05585
>
Sorry, I'm not familiar with the command line syntax for that
particular
transformer, but obviously it does not work as expected as
transforming with
msxml gives the correct result. I'm sure someone else on the list can
help
though.

--
Joe

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection
http://www.msn.co.uk/specials/btbroadband


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





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.