hxt-8.1.0: A collection of tools for processing XML with Haskell.Source codeContentsIndex
Text.XML.HXT.XPath.XPathToString
Portabilityportable
Stabilityexperimental
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Description
Format an expression or value in tree- or string-representation
Synopsis
expr2XPathTree :: Expr -> XPathTree
xPValue2String :: XPathValue -> String
xPValue2XmlTrees :: XPathValue -> XmlTrees
nt2XPathTree :: NodeTest -> XPathTree
pred2XPathTree :: [Expr] -> XPathTree
toXPathTree :: [NavTree a] -> [NTree a]
Documentation
expr2XPathTree :: Expr -> XPathTreeSource
Format a parsed XPath-expression in tree representation. Text output is done by formatXmlTree
xPValue2String :: XPathValue -> StringSource
Format a XPath-value in string representation. Text output is done by formatXmlTree for node-sets (trees), all other values are represented as strings.
xPValue2XmlTrees :: XPathValue -> XmlTreesSource
Convert a a XPath-value into XmlTrees.
nt2XPathTree :: NodeTest -> XPathTreeSource
pred2XPathTree :: [Expr] -> XPathTreeSource
toXPathTree :: [NavTree a] -> [NTree a]Source
Convert an navigable tree in a xmltree
Produced by Haddock version 2.3.0