aspose 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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Resolve Public DTD to a local System id