RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)

You are welcome to use our annotation system to give your feedback.


Name

pattern — Pattern

Class:

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 ")"

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).


You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.