xsl-list
[Top] [All Lists]

RE: Where is Process in JDK 1.5?

2005-05-16 09:58:14
         Hi,
             The xerces and xalan packages are part of JAXP which is a
standard package shipped along with jdk1.5. Consequently, the package names
have changed and the xalan transformation process can be invoked using the
command line

   %java com.sun.org.apache.xalan.internal.xslt.Process -IN a.xml -XSL
a.xsl -OUT a.htm

    I haven't personally worked with jdk1.5 yet but Iam thinking the above
should work.

   Cheers,
   Omprakash.V


-----Original Message-----
From: Michael(_dot_)Giroux(_at_)Bull(_dot_)com 
[mailto:Michael(_dot_)Giroux(_at_)Bull(_dot_)com]
Sent: Monday, May 16, 2005 9:14 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Where is Process in JDK 1.5?






Using JDK 1.4.2, I'm able to invoke xsl translation from the command line
as follows:
java org.apache.xalan.xslt.Process -XSL my.xsl -IN my.xml -OUT
myTranslated.xml

The same command fails w/ JDK 1.5:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/Process

Can anyone tell me how to invoke xsl translation from command line using
JDK 1.5?

Thanks
Michael Giroux


--~------------------------------------------------------------------
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>
--~--





--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>