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

CopyrightCopyright (C) 2008 - infinity: Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.XML.HXT.XPath.XPathToString

Description

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

Synopsis

Documentation

expr2XPathTree :: Expr -> XPathTree Source

Format a parsed XPath-expression in tree representation. Text output is done by formatXmlTree

xPValue2String :: XPathValue -> String Source

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 -> XmlTrees Source

Convert a a XPath-value into XmlTrees.

nt2XPathTree :: NodeTest -> XPathTree Source

pred2XPathTree :: [Expr] -> XPathTree Source

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

Convert an navigable tree in a xmltree