Thomas DeWeese wrote:

<snipped>... Well, I wasn't part of the initial decision, but we have needed to
_heavily_ customize the DOM to support CSS, various peculiarities of
SVG (like use), so the real trade off would be the complexity of
extending base classes we have no control over, vs reimplementation...



OK fair comment. Thanks for the explanation.


My interest in the DocumentType node is that at present, a newly created document gets written to file without a DTD specified. It is better to specify the DTD, so that the likes of the W3C Validator can confirm that the document has been generated correctly.

As a workaround, I convert my DOM to JDOM before writing this to file (IMHO, JDOM is a lot easier to use anyway) and JDOM lets me set the document type node before writing the file.

Rick :-)



--

Visit our website at www.roke.co.uk

Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.

The information contained in this e-mail and any attachments is confidential to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to