Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB DOCTYPE

 
Rick Portugal
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic