| Safe Haskell | None | 
|---|
Text.XML.PolySoup.XmlTree
Description
XML as a tree of XML tags.
The module provides an XmlTree data type, which can be used to represent
 a parsed XML file.  The XmlTree structure can be generated lazily by using
 the parseTree (or parseForest) function on any string-like input
 supported by the tagsoup library.
Note, that the parsing functions do not validate correctness of the input XML data.
XML Tree
Parsing
parseForest :: Eq s => [Tag s] -> XmlForest sSource
Parse XML forest from a list of tags.  Note, that if the XML file
 has additional headers, the parseForest function has to be used to
 parse it correctly.
Rendering
renderTree :: XmlTree s -> [Tag s]Source
Render XML tree tags.
renderForest :: XmlForest s -> [Tag s]Source
Render XML forest tags.