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

Re: What's the new Java (1.4) command-line for Xalan t

Subject: Re: What's the new Java (1.4) command-line for Xalan transformationprocessing?
From: Piotr Banski <bansp@xxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Feb 2003 00:15:58 +0100 (CET)
banski
On Wed, 19 Feb 2003, William Reilly wrote:
> I've missed something in upgrading from Java 1.3.1 to Java 1.4 when it
> comes to using my familiar command-line Xalan:
>java org.apache.xalan.xslt.Process -IN in.xml -XSL myxsl.xsl -OUT out.xml
-PARAM recipe abc

> I understand Xalan and Xerces are now part of the Sun Java (J2SE)
> distribution, and that (in theory?) you don't need to separately
> install them, but I don't know where to go in all the Java packages to
> get a similar command-line utility.

Unless I misunderstand your question, the answer is: nothing's changed
about the command line. If you don't install a new version of Xalan, the
invocation above will run the version that comes with Java 1.4.

> 	http://xml.apache.org/xalan-j/commandline.html

What must have confused you is the fact that Java 1.4 has this 'endorsed
classes' mechanism that lets you override the installed classes -- if e.g.
you decide to install a newer Xalan package (which may be a good idea).
This is all described somewhere on Xalan-J pages.

(And if you decide to upgrade, be aware of the fact that the newest
official version of Xalan (2.4.1) has an ugly bug that mangles the output
if you use the -TS switch ('trace selection events'), so if you want it to
work, get a recent nightly build.)

Good luck,

  Piotr


 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.