File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
XSL transformation to String
display a tag information from xslt file.
Writing errors to file (HELP)
SAXParser Factory
Transformer Exception -- Please help.