tpdb-2.1.0: Data Type for Rewriting Systems

Safe HaskellNone
LanguageHaskell98

TPDB.Xml

Synopsis

Documentation

mkel :: Name -> [Node] -> Node Source #

rmkel :: Monad m => Name -> [Node] -> m Node Source #

content :: Cursor -> [Text] #

Select only text nodes, and directly give the Content values. XPath: The node test text() is true for any text node.

Note that this is not strictly an Axis, but will work with most combinators.

(&|) :: (Cursor node -> [a]) -> (a -> b) -> Cursor node -> [b] infixr 1 #

Apply a function to the result of an axis.

escape :: [Char] -> [Char] Source #