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 JAXB DOCTYPE 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 "JAXB DOCTYPE" Watch "JAXB DOCTYPE" New topic
Author

JAXB DOCTYPE

Rick Portugal
Ranch Hand

Joined: Dec 17, 2002
Posts: 243
I'm using JAXB for the first time. I have been able to create ("marshal") an XML document. Pretty cool.

One problem is that I need a DOCTYPE tag in the XML document that I create. I need the XML message I create to have a line like this:

<!DOCTYPE JR_Message SYSTEM "..\dtd\javaranch.dtd">

How can I create a DOCTYPE tag like that using JAXB marshaling?


IBM 286, SCJP, SCWCD, EIEIO
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB DOCTYPE