libxml-sax-0.3: Bindings for the libXML2 SAX interface




data Parser Source

An opaque reference to a libXML SAX parser.

mkParser :: IO ParserSource

Construct a new, empty parser.

parse :: Parser -> String -> Bool -> IO [Event]Source

Feed some text into the parser. This may be performed multiple times per Parser value, in which case the internal parser state is retained between computations.

If the third parameter is True, the parser assumes that this is the last input and checks that the document was closed correctly.