Hello:
I would like to include a SYSTEM doctype in my XML document-- for
example: <!DOCTYPE doc SYSTEM "document.dtd">
I could not find a way to do this using the org.apache.ecs.Doctype
class. It seems to hardcode PUBLIC. Am I missing something?
Also, if I specify a particular value for the encoding declaration of
the XML document (in XMLDocument() ctor) I would prefer
that the toString() print it out. That is, if I say
XMLDocument mydoc = new XMLDocument(1.0, false, "UTF-8");
System.out.println(mydoc.toString()); // should print out <?xml
version="1.0" encoding="UTF-8" standalone="no"?>
Instead, the encoding directive is always omitted...
Normally, as a workaround for both of these issues, I would provide my
own toString() method in an anonymous subclass,
but all of the toString() methods have been made final, so I am out of
luck...
Apologies in advance if I have missed earlier discussions on these, I am
brand new to the ECS mailing list.
Thanks very much,
--Craeg Strong
--
Craeg K. Strong | www.strongtech.com
Strong Financial Technologies, Inc. |
[EMAIL PROTECTED]
32 Hill Road | Fax: (781)
207-7980
Belmont, MA 02478 | Voice: (781)
647-2425
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]