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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] To tree, or not to tree ...(was Re: [xml-dev] The subsetti

[ Lists Home | Date Index | Thread Index ]

> mc@xegesis.org (Mike Champion) writes:
> >>> You claimed that a parser *has* to model the XML instance as a tree.
> >>> DOM-type parsers do, but SAX-type parsers just don't.
> >>
> >> No, I didn't. But I can see the tree from the maps :)
> >
> >Ooooh, this is getting into deep philosophical territory ... "If a
> >tree grows from the SAX forest but there is no one there to see it, is
> >it still a 'tree'????"  <grin>
> Sometimes I want to treat it as a tree, sometimes I don't.  As long as
> no one tells me that it must be a tree, I don't really care.  Seems
> easier that way.

Quite. In my current app I just get special graphs ('special' in the
euphemistic sense - i.e. one who takes a lot more looking after).




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

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