DOM serialization

Rick Jelliffe ricko at allette.com.au
Tue Oct 12 06:57:43 BST 1999


Because DOM is an interface, you don't know details of its
implementation.
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 compuserve.com>
  To: xml-dev at ic.ac.uk <xml-dev at ic.ac.uk>
  Date: Monday, 11 October 1999 22:30
  Subject: DOM serialization


  Hi,

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

  Tangi



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





More information about the Xml-dev mailing list