>The standard representation should be a tree datatype
Why not separate the parser and tree builder, have the parser stream the tags out, and define the tag stream as the interface to a DOM builder...
[...]
make sense?
Makes sense to me, and if I were starting from scratch this approach has some appeal.
I don't especially like your correspondent's idea of a "standard representation" in the library, because details are likely to change over time (cf. the introduction of XML namespaces).
#g
------------ Graham Klyne For email: http://www.ninebynine.org/#Contact
_______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
