Module
Data.XPath
- Package
- purescript-xpath-like
- Repository
- bbarker/purescript-xpath-like
#XPathLike Source
class (Semigroup m) <= XPathLike m where
Provides utility functions for working with XPaths.
Members
pathAppend :: m -> m -> m
pathAppendNSx :: m -> m -> m
Useful variant of
pathAppend
needed for some XPath implementations; insert a separator with a dummy namespace ("x") for the second XPath fragment. For example:root /? "record" /? "identifier" == "/x:record/x:identifier"
.at :: m -> m
Prepend an '@'
xx :: m -> m
Prepend a dummy namespace
root :: m
The root XPath representation.
Instances
- Modules
- Data.
XPath
Put a path seperator between two XPaths and return the resulting XPath.