sch:phase
A grouping of patterns, to name and declare variations in schemas, for example, to support progressive validation.
Element information
Namespace: http://purl.oclc.org/dsdl/schematron
Schema document: schematron.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Choice [0..*]
- Any element Namespace: ##other, Process Contents: skip
- Any element Namespace: ##local, Process Contents: skip
- sch:include The required href attribute references an external well-formed XML document whose document element is a Schematron element of a type which is allowed by the grammar for Schematron at the current position in the schema. The external document is inserted in place of the include element.
- sch:p A paragraph of natural language text containing maintainer and user information about the parent element. The schema can nominate paragraphs that should be rendered in a distinct way, keyed with the class attribute.
- sch:let A declaration of a named variable.
- sch:active The required pattern attribute is a reference to a pattern that is active in the current phase.
from group sch:foreign-element
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [1..1] | xsd:ID | ||
see | [0..1] | sch:uriValue | A name describing the function of the assertion or context node in the pattern. If the assertion has a subject attribute, then the role labels the arc between the context node and any nodes which match the path expression given by the subject attribute. | from group sch:rich |
fpi | [0..1] | sch:fpiValue | A formal public identifier for the schema, phase or other element. | from group sch:rich |
xml:lang | [0..1] | Anonymous | from group sch:rich | |
xml:space | [0..1] | Anonymous | from group sch:rich | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: skip | from group sch:foreign-attributes | |
Any attribute | [0..*] | Namespace: ##local, Process Contents: skip | from group sch:foreign-attributes |
Used in
- Anonymous type of element sch:schema
Sample instance
<sch:phase id="ID"> <!--any element--> </sch:phase>