by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

pattern — Pattern

Synopsis

pattern ::= "element" 
nameClass "{" 
pattern "}"
 |"attribute" 
nameClass "{" 
pattern "}"
 |
pattern ("," 
pattern)+
 |
pattern ("&" 
pattern)+
 |
pattern ("|" 
pattern)+
 |
pattern "?"
 |
pattern "*"
 |
pattern "+"
 |"list" "{" 
pattern "}"
 |"mixed" "{" 
pattern "}"
 |
identifier
 |"parent" 
identifier
 |"empty"
 |"text"
 |[
datatypeName] 
literal
 |
datatypeName ["{" 
param* "}"] [
exceptPattern]
 |"notAllowed"
 |"external" 
literal [
inherit]
 |"grammar" "{" 
grammarContent* "}"
 |"(" 
pattern ")"

Restrictions

pattern

May be included in

(pattern), attribute, datatypeName param exceptPattern, div, element, grammar, include, list, mixed, pattern&pattern, pattern*, pattern+, pattern,pattern, pattern?, pattern|pattern

XML syntax equivalent

None

Description

A pattern is an atom of RELAX NG schema. It is matched against nodes from the instance document (elements, attributes, text nodes, or tokens resulting from a split through list).


This text is released under the Free Software Foundation GFDL.