Problem Solved
Right, welll aren't I silly.
It turns out that the [FONT=Courier New]produceDomDocum ent[/FONT] method was working just fine.
The problem was that the [FONT=Courier New]javax.xml.trans form.Transforme r[/FONT] object was not matching the xml namespace identifier I was using in my xslt and xml files.
I still don't know how to correct this problem, but the workaround is to remove...
User Profile
Collapse
-
HttpServlet won't return org.w3c.dom.Document object
I've been puzzled by this one for ages. I've tried everything I can think of, and now it is time to ask for help.
THE APPLICATION
A J2EE application which reads an XML file from the /WEB-INF/xml directory within a Sun AppServer and transforms the XML via an XSLT into an HTML file that is served to the user's browser.
THE PROBLEM
I get a DOM Document from the following line, but when I return the Document...
No activity results to display
Show More
Leave a comment: