[Haskell-cafe] Re: Lazy XML handling
Graham Klyne
gk at ninebynine.org
Mon May 24 10:25:02 EDT 2004
At 23:31 21/05/04 +0100, MR K P SCHUPKE wrote:
> >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
More information about the Haskell-Cafe
mailing list