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


Help: OASIS Mailing Lists Help | MarkMail Help



   DOM vs. SAX??? Nah. (was RE: Storing Lots of Fiddly Bits (was Re: What

[ Lists Home | Date Index | Thread Index ]
  • From: "Oren Ben-Kiki" <oren@capella.co.il>
  • To: "XML List" <xml-dev@ic.ac.uk>
  • Date: Fri, 12 Feb 1999 11:36:17 +0200

John Cowan <cowan@locke.ccil.org> wrote:

>Oren Ben-Kiki wrote:
>> [T]he
>> DOM specs should provide a standard way to apply a SAX visitor to a DOM
>> (sub)tree. A parser would be just a special case of an application which
>> an internal "virtual DOM tree" and doesn't provide random access to it.
>See http://www.ccil.org/~cowan/XML/DOMParser.java for code that does
>just this: it walks a org.w3c.dom.Document and fires SAX events
>based on its contents.

I know it is available - just as there are tools to build a DOM tree from
SAX events. I'd just like to see SAX being given an official standing
_within_ the DOM specs as "the" DOM visitor interface. Ideally, SAX would be
part of the DOM specs.

Share & Enjoy,

    Oren Ben-Kiki

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/ and on CD-ROM/ISBN 981-02-3594-1
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