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.
attribute — Pattern matching an attribute.
pattern
"attribute" nameClass "{" pattern "}" |
(pattern), attribute, datatypeName param exceptPattern, element, list, mixed, pattern&pattern, pattern*, pattern+, pattern,pattern, pattern?, pattern|pattern.
attribute
The attribute pattern matches an attribute. The name of the attribute is defined by using a nameClass which may be either a single name or a name class. Note that, unlike the XML syntax, the content of an attribute does not default to text and must always be explicitly defined.
After simplification, attribute patterns can only contain patterns relevant for text nodes.
Attributes cannot be duplicated, either directly or by overlaping name classes.
Attributes which have an infinite name class ( anyName or nsName) must be enclosed in a oneOrMore (or zeroOrMore before simplification) pattern.
attribute available { text } attribute xml:lang { xsd:language } attribute * - (local:* | lib:* | hr:*) { text } |
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.