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

Re: Saxon auto-recognition of sequence of XML and XSLT

Subject: Re: Saxon auto-recognition of sequence of XML and XSLT document possible ?
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Fri, 02 Feb 2007 15:15:07 +0200
Re:  Saxon auto-recognition of sequence of XML and XSLT
Hi Ben,

What if you want to apply a transformation on an XSLT file? Both files will have the same namespace...

Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Ben Stover wrote:
On page

http://www.saxonica.com/documentation/using-xsl/commandline.html

The syntax of using Saxon is shown as

java -jar dir/saxon8.jar [options] source-document stylesheet [ params...]

Note: stylesheet follows XML source.

I want to create a DOS batch file onto I can drag TWO documents simultaneously:
ONE XML source and ONE XSLT sheet.


The key command in this batch file will be similar to

java -jar saxon8.jar "%1" "%2" .....

It now occurs from time to time that the XSLT stylesheet will be the first parameter %1
and the second  %2 represents the XML doc.

Is there no Auto-recognition from Saxon to detect which of the two documents is the
XML and which the XSLT stylesheet and hence allow also

java -jar dir/saxon8.jar [options] stylesheet source-document [ params...]

Maybe I have to pass another option?

Ben










___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use"  The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html

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.