OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: ANN: DOMParser

[ Lists Home | Date Index | Thread Index ]
  • From: Tyler Baker <tyler@infinet.com>
  • To: John Cowan <cowan@locke.ccil.org>
  • 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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS