File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
XML and Related Technologies
Joined: May 13, 2001
Sep 06, 2010 13:39:16
I'm trying to parse an xml file on my server but I keep getting a
with no detail as to what is causing the problem.
Here is where the exception occurs:
Templates stylesheet = factory.newTemplates(xslSource);
I am using IBM Java 1.4.2 on the server (This was parsing correctly at some point in the past).
I just tested this on my desktop with Sun Java 1.6 and it worked fine.
This is how I get the xslSource:
xslSource = new
I have verified the path to the xsl file is correct.
Has anyone seen this before?
How can I get some details about what is causing the exception?
I agree. Here's the link:
creating pdf,xml,doc file using servlet
problem in Transformation
Apply XSL to XML (Java)
XML and XSLT to generate XHTML
converting XML with XSLT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014