Subject: Re: XSLT in JDK1.5 from the command line
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 24 Mar 2005 14:24:52 -0500
|
At 01:58 PM 3/24/2005, Jirka wrote:
Is it possible to invoke an XSLT processor in JDK1.5 without any
classpath at all?
With the JDK1.4 I can simply say
java org.apache.xalan.xslt.Process -V
I think that Sun changed package name to solve endorsed dir problems of
JDK1.4. Try:
java com.sun.org.apache.xalan.internal.xslt.Process
I guess I should have warned you guys I tried this and got a "main method
not found" error when calling that class ... bummer.
I know it works with standalone JAXP 1.3, but this version is not the
exactly same as one bundled with JDK1.5 :-(
Ah, this could be a significant bit of info.
Any more thoughts? (Has no one actually run a transform in JDK1.5,
standalone, without external classes, from the command line? Hard to
believe. I'm getting too close to the bleeding edge I guess ... even a
proof by example that it's possible would be cool. :-)
Cheers,
Wendell
======================================================================
Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
|