hxt-relaxng-9.1.0: The HXT RelaxNG validator

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