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

Re: Passing Command line params

Subject: Re: Passing Command line params
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 30 Jul 2002 09:35:54 +0100
command line params in c
Hi Kalyan,

> can some one suggest me how I can pass command line parameter of a
> file name to an XSL file. I use MSXSL for merging XML files using an
> XSL file. I need to pass one of the file names as a command line
> parameter.

After specifying the other options that you might be using, use the
syntax param=value. For example:

C:\> msxsl test.xml test.xsl -o out.xml file=more.xml

will pass the string "more.xml" as the value of the $file parameter.

Don't forget that you need to use quotes around parameter values that
include spaces.

(BTW, using:

C:\> msxsl -?

gets you information about the syntax of using MSXML from the command
line.)

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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.