- From: Fabio Gurgone <gurgone@txt.it>
- Date: Wed, 13 Jun 2001 12:11:56 +0200
- To: <www-dom@w3.org>
Hi,
> why the DOM version 1 didn't specify a means of getting the actual XML out
> of the DOM document.
DOM hasn't the opposite method ( XML(String) --> DOM or XML(File) --> DOM)
like to do this you need a parser (and it isn't into the DOM specification)
to "serialize" a DOM tree you need a DOM Serializer
Usually parsers have both of this features (XercesJ...for instance).
Another important think is that DOM serialization is implementation
independent - Xerces serialization use the tree at Document-Element level.
btw, serialization is easy to do.
bye
Fabio Gurgone
Received on Wednesday, 13 June 2001 06:09:46 UTC