DocumentFactory factory = new
DocumentFactory();
Document doc =
factory.createDocument();
doc.addDocType("rootElementName", "some URI",
"foo.dtd");
...
----- Original Message -----
Sent: Friday, November 15, 2002 6:28
AM
Subject: [dom4j-user] How to Set a DTD
for a xml element that i
I have created an XML structure(Document) using dom4j, to which i want to
add a <!DOCTYPE> statement. i.e, the XML that I generate is defined by
this DTD and I want the DTD statement to appear as part of the XML
Structure.
How do i do it?
Ramanujam ;)
MSN 8 helps ELIMINATE E-MAIL
VIRUSES. Get 2 months FREE*.
------------------------------------------------------- This sf.net email is
sponsored by: To learn the basics of securing your web site with SSL, click
here to get a FREE TRIAL of a Thawte Server Certificate:
http://www.gothawte.com/rd524.html
_______________________________________________ dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user
|