You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Hand, Brian" <b....@TriCorInd.com> on 2002/04/03 23:45:14 UTC

Setting a DOCTYPE Declaration through DocumentType for a brand ne w document

Hi all,

Being somewhat a newbie to Xerces I would like a create a document (via a
save function) and I would like to set the <!DOCTYPE .... statement in the
document to be saved.  I see that there are no setters in the DocumentType
interface and was just wondering if someone could offer a quick snippet of
code on how to set the <!DOCTYPE into the generated document.

BTW I am using the DOM API.

Thanks
Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org