wraxml-0.4.4.2: Lazy wrapper to HaXML, HXT, TagSoup via custom XML tree structure

Safe HaskellNone
LanguageHaskell98

Text.XML.WraXML.Tree.Tagchup

Description

Very lazy HTML tree parser using TagSoup as lexer.

Synopsis

Documentation

toXmlTrees :: (Tag name, Attribute name) => [T name string] -> [T T name string] Source #

A TagSoup could represent multiple HTML trees, e.g. with some introducing comments.

fromXmlTree :: (Tag name, Attribute name) => T T name string -> [T name string] Source #

fromElement :: (Tag name, Attribute name) => T name string -> T name string Source #

fromLeaf :: (Tag name, Attribute name) => Leaf name string -> T name string Source #

liftElementFilter :: (Tag name, Attribute name) => (T name str -> T name str) -> T name str -> T name str Source #

liftElementCheck :: (T name string -> Bool) -> T name string -> Bool Source #

example :: [XmlTree T String] Source #