hxt-relaxng-9.1.5.5: The HXT RelaxNG validator

Safe Haskell | None
Language | Haskell98

Text.XML.HXT.RelaxNG.PatternFunctions

Description

basic `Pattern` functions

Synopsis

- isRelaxEmpty :: Pattern -> Bool
- isRelaxNotAllowed :: Pattern -> Bool
- isRelaxText :: Pattern -> Bool
- isRelaxChoice :: Pattern -> Bool
- isRelaxInterleave :: Pattern -> Bool
- isRelaxGroup :: Pattern -> Bool
- isRelaxOneOrMore :: Pattern -> Bool
- isRelaxList :: Pattern -> Bool
- isRelaxData :: Pattern -> Bool
- isRelaxDataExcept :: Pattern -> Bool
- isRelaxValue :: Pattern -> Bool
- isRelaxAttribute :: Pattern -> Bool
- isRelaxElement :: Pattern -> Bool
- isRelaxAfter :: Pattern -> Bool
- getChildrenPattern :: Pattern -> [Pattern]
- getNameClassFromPattern :: Pattern -> NameClass
- getPatternName :: Pattern -> String

# Documentation

isRelaxEmpty :: Pattern -> Bool Source #

isRelaxNotAllowed :: Pattern -> Bool Source #

isRelaxText :: Pattern -> Bool Source #

isRelaxChoice :: Pattern -> Bool Source #

isRelaxInterleave :: Pattern -> Bool Source #

isRelaxGroup :: Pattern -> Bool Source #

isRelaxOneOrMore :: Pattern -> Bool Source #

isRelaxList :: Pattern -> Bool Source #

isRelaxData :: Pattern -> Bool Source #

isRelaxDataExcept :: Pattern -> Bool Source #

isRelaxValue :: Pattern -> Bool Source #

isRelaxAttribute :: Pattern -> Bool Source #

isRelaxElement :: Pattern -> Bool Source #

isRelaxAfter :: Pattern -> Bool Source #

getChildrenPattern :: Pattern -> [Pattern] Source #

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

getNameClassFromPattern :: Pattern -> NameClass Source #

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

getPatternName :: Pattern -> String Source #

Returns a string representation of the pattern name