Lists Home |
Date Index |
> firstname.lastname@example.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).