
23 May
2006
23 May
'06
3:18 p.m.
Ashley Yakeley
Would we also want some sort of stream API, similar to SAX?
streamXML :: (Monad m) => m Char -> m SAXEvent
HaXml has a module Text.XML.HaXml.SAX with the signature saxParse :: String -- ^ The filename -> String -- ^ The content of the file -> ([SaxElement],Maybe String) -- ^ A tuple of the parsed elements and @Nothing@, if no -- error occured, or @Just@ @String@ if an error occured. But again, resolving how different libraries represent the datatypes SaxElement/SAXEvent is the key question. Regards, Malcolm