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


Name

list — Text node split

Synopsis

"list" "{" 
pattern "}"

Restrictions

pattern

May be included in

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

XML syntax equivalent

list

Description

The list pattern splits a text node into tokens separated by whitespace to allow the validation of these tokens separately. This item is most useful for validating lists of values.

Restrictions

  • interleave can't be used within list.

  • The content of a list is only about data: it's forbidden to define element, attribute or, text there.

  • It's forbidden to embed list into list.

Example

attribute see-also {list {token*}}

attribute dimensions {list {xsd:decimal, xsd:decimal, xsd:decimal, 
  ("inches"|"cm"|"mm")}}

This text is released under the Free Software Foundation GFDL.