Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2005, 05:28 AM
Authorized User
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default passing command line parameters to xsl

Hi All,
       can anyone help me how to pass parameters to xsl from command line.
     its like very urgent.

Thanks and Regards


 
Old August 3rd, 2005, 05:42 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Which processor are you using?
Try entering:
Code:
myProcessor.exe /?
at the command prompt for built in help.


--

Joe (Microsoft MVP - XML)
 
Old August 3rd, 2005, 06:02 AM
Authorized User
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Joe,
       Thanks for your information.But its not comming.
I'm using saxon processor.



Thanks and Regards

 
Old August 3rd, 2005, 06:18 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

It depends entirely on which XSLT processor you are using.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old August 3rd, 2005, 06:21 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

For Saxon, instructions are here:

http://www.saxonica.com/documentatio...mmandline.html

For example

java -jar saxon8.jar source.xml style.xsl param2=value



Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing parameters to XSL shahbhat XSLT 4 August 27th, 2008 11:08 AM
passing parameters to xsl stylesheets smys123 Java Basics 2 June 22nd, 2007 03:42 PM
passing parameters from one xsl to another smys123 XSLT 4 June 21st, 2007 01:23 PM
passing parameters from command link to input Text pvsaranya_reddy JSP Basics 0 March 5th, 2006 08:02 AM
command line inputs for xsl rameshnarayan XSLT 3 August 4th, 2005 05:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.