[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|