[Home] [By Thread] [By Date] [Recent Entries]

  • From: Tyler Baker <tyler@i...>
  • To: John Cowan <cowan@l...>
  • Date: Thu, 17 Sep 1998 16:40:08 -0400

John Cowan wrote:

> Tyler Baker wrote:
>
> > Wouldn't this be better titled as a DOM Builder and a DOM Writer?
>
> I don't see why.  DOMParser is a SAX parser, just like any other,
> except that instead of reading an XML source file, it walks a DOM.
> It does not build a DOM, nor does it write anything.
>
> There is a similar module in SAXON, I believe, but not packaged as
> a SAX parser.

Sorry my confusion lies in that parsing refers to taking data of one unmanageable
form and converting it into a manageable form.  In other words, you cannot do
anything useful with an XML document until you parse it, all it is a set of bytes
that follow a particular pattern.  Parsing a DOM tree is an oxymoron IMHO unless
you are converting the DOM tree into some other tree.  I guess I would have to
take a closer look at what you have.  From second glance it seems as if what you
have are utility methods for searching and sorting a DOM tree.  In this case you
would have a DOM Manager...

Tyler


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member