hxt-8.5.4: A collection of tools for processing XML with Haskell.

Text.XML.HXT.RelaxNG.PatternFunctions

Description

basic Pattern functions

Synopsis

Documentation

getChildrenPattern :: Pattern -> [Pattern]Source

Returns a list of children pattern for each pattern, e.g. (Choice p1 p2) = [p1, p2]

getNameClassFromPattern :: Pattern -> NameClassSource

Returns the nameclass of a element- or attribute pattern. Otherwise NCError is returned.

getPatternName :: Pattern -> StringSource

Returns a string representation of the pattern name