DOM serialization

Rick Jelliffe ricko at
Tue Oct 12 06:57:43 BST 1999

Because DOM is an interface, you don't know details of its
It may be that the cost of generating or parsing XML is small compared
to the constant cost of accessing the DOM data or building the DOM data.

You cannot save a DOM tree simply by saving every byte between
two addresses, in particular (unless the implementation allows this and
provdes some non-DOM mechanism).

If the binary format of the document preserves lots of  pointers, then
it may
be that the binary form is larger than the XML form. This may take more
time to parse (i.e., deserialize), even though binary.

Rick Jelliffe
  -----Original Message-----
  From: Tangi Vass <tangivass at>
  To: xml-dev at <xml-dev at>
  Date: Monday, 11 October 1999 22:30
  Subject: DOM serialization


  Is it possible to serialize/deserialize DOM trees into/from binary
  I have multiple XML and XSL files, and don't to want to spend time
parsing them for each XML/XSL combinaison.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list