| ZVON > References > Schematron reference |
| Intro / Search / ZVON |
| Element | pattern | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Description | Rules are grouped into pattern elements. A pattern is a grouping of rules. Inside a pattern there must not be two or more rules with the same context, rules can have the same context if they are in different patterns. | ||||||||
| Attributes |
|
||||||||
| Children | p, rule | ||||||||
| Parents | schema | ||||||||
| DTD |
<!ELEMENT pattern ( p*, rule+ )>
<!ATTLIST pattern
name CDATA #REQUIRED
see CDATA #IMPLIED
id ID #IMPLIED
icon CDATA #IMPLIED>
|
| Examples | |
|---|---|
| Example 1 | A simple example |
| Example 2 | A schema with several patterns |