hxt-xpath-8.5.3: The XPath modules for HXT.

Portabilityportable
Stabilityexperimental
MaintainerUwe Schmidt (uwe@fh-wedel.de)

Text.XML.HXT.XPath.XPathToString

Description

Format an expression or value in tree- or string-representation

Synopsis

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.

pred2XPathTree :: [Expr] -> XPathTreeSource

toXPathTree :: [NavTree a] -> [NTree a]Source

Convert an navigable tree in a xmltree