On Sat, Apr 07, 2007 at 08:01:41PM -0700, Jeremy Shaw wrote: > Also, anyone interested in making an XMPP library should probably be > aware of the development version of HaXml: > > http://www.cs.york.ac.uk/fp/HaXml-devel/ > > which includes this module: > > http://www.cs.york.ac.uk/fp/HaXml-devel/HaXml/Text-XML-HaXml-SAX.html > > "A streaming XML parser, using a method known as SAX. SAX isn't > really a standard, but an implementation, so it's just an "SAX-like" > parser. This module allows you parse an XML document without having > to evaluate it as a whole. This is needed for protocols like jabber, > which use xml streams for communication."
Or perhaps better yet, this one: http://www.cs.york.ac.uk/fp/HaXml-devel/HaXml/Text-XML-HaXml-ParseLazy.html Through the Power of Haskell - LAZY DOM! NB: xmpp clients are required to not attempt error recovery, so the "weakness" of ParseLazy is relatively inconsequential. Stefan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe