This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Resolve Public DTD to a local System id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Resolve Public DTD to a local System id" Watch "Resolve Public DTD to a local System id" New topic
Author

Resolve Public DTD to a local System id

Arron Varga
Greenhorn

Joined: Jun 03, 2004
Posts: 9
I am looking for a way to reovle the public id to a local system id. Currently the only way I can get my code to run is to create a directory on my C: drive \kbxml\.

Sample XL Code:


Sample Java Class:

If you look in the sample class, I tried to use setSystemId. However when I use that code my program errors out saying 'missing root element'?

Can anyone help?

Thanks
Arron Varga
Greenhorn

Joined: Jun 03, 2004
Posts: 9
I know the transformation works, I just need to know how to set a system id for the dtd.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resolve Public DTD to a local System id
 
Similar Threads
Transformer Exception -- Please help.
XSL transformation to String
SAXParser Factory
Writing errors to file (HELP)
display a tag information from xslt file.