Next in thread → Next in month →

RE: [xml-dev] To tree, or not to tree ...(was Re: [xml-dev] The subsetting has begun)

From
Danny Ayers <>
To
"Simon St.Laurent" <>, XML Dev <>
Date
2003-03-02T09:50:27Z
ID
<>
Thread
RE: [xml-dev] To tree, or not to tree ...(was Re: [xml-dev] The subsetting has begun)
>  (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).



----

http://dannyayers.com
Next in thread → Next in month →