xsl-list
[Top] [All Lists]

Re: XSLT in JDK1.5 from the command line

2005-03-24 12:24:52
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(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--