Module
Data.XPath
- Package
- purescript-xpath-like
- Repository
- bbarker/purescript-xpath-like
#XPathLike Source
class (Semigroup m) <= XPathLike m whereProvides utility functions for working with XPaths.
Members
pathAppend :: m -> m -> mpathAppendNSx :: m -> m -> mUseful variant of
pathAppendneeded 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 -> mPrepend an '@'
xx :: m -> mPrepend a dummy namespace
root :: mThe root XPath representation.
Instances
- Modules
- Data.
XPath
Put a path seperator between two XPaths and return the resulting XPath.