That website is referring to Xalan 1.2.2. which is no longer supported
by Apache. The latest stable version of Xalan is 2.7.1 I believe, and
the class structure has changed. You can still use the ideas that the
website talks about, but you will need to update the packages, code, and
class structures to match Xalan 2.7.1.
Xalan 2.7.1 can certainly do what you desire. Your best bet is to review
http://xml.apache.org/xalan-j/ for the latest information and tutorials
on getting a program up and running.
Good luck,
Nathan
Sanjaya Liyanage wrote:
Hi Nathan,
I found the code
here.(http://docstore.mik.ua/orelly/xml/jxslt/ch05_01.htm) .What I
want is just try to generate a html giving a XML and a XSL as inputs
using Xalan.Do you know how can I achieve that?I can't use this code
because of the problem with the unavailability of
org.apache.xalan.xslt.XSLTProcessor class.
thank you
Sanjaya Liyanage
On Fri, Jul 29, 2011 at 2:26 PM, Nathan Nadeau <n...@gleim.com> wrote:
Sanjaya,
Looking through the Xalan 2.7.1 JAR files, I don't see any class like
"org.apache.xalan.xslt.XSLTProcessor". Maybe that is an old or mistaken
class name? Possibly similar classes I see in the current JAR are:
org/apache/xalan/client/XSLTProcessorApplet, org/apache/xalan/processor/*,
and org/apache/xalan/xslt/Process (this is in fact a main entry point class
for Xalan).
Sanjaya Liyanage wrote:
Hi all,
I need the above class to be imported in order to run a basic xalan
example.Although I used the Xalan.jar it doesn't contain a class like
that instead a org.apache.xalan.xsltc. How can I use the class I
need?Any help is appreciated.
Thank you
Sanjaya Liyanage