W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Re: How do I print DOM tree contents

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Fri, 4 May 2001 17:06:19 -0400
To: <www-dom@w3.org>
Message-ID: <OF4809B079.4D96363D-ON85256A42.00733BAD@pok.ibm.com>

>1) How do I set the version

DOM Level 2 and before have not standardized this. (See
http://www.w3.org/DOM/faq.html#XMLdecl) DOM Level 3 will close this gap, by
adding a version field to the Document and Entity intefaces.


>2)  how do I print it?

DOM Level 2 and before have not standardized this. DOM Level 3 will close
this gap, as part of the Load/Save module. Until that's ready, you're going
to have to either implement your own solution, or use one of the many
available "off the shelf" -- most XML parsers also come with an XML
serializer tool.

______________________________________
Joe Kesselman  / IBM Research
Received on Saturday, 5 May 2001 01:26:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT