Schema Central > Schematron > schematron.xsd > sch:pattern
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

sch:pattern

A structure, simple or complex. A set of rules giving constraints that are in some way related.

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
see [0..1]sch:uriValueA 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:fpiValueA formal public identifier for the schema, phase or other element.from group sch:rich
xml:lang [0..1]Anonymousfrom group sch:rich
xml:space [0..1]Anonymousfrom group sch:rich
Any attribute[0..*]Namespace: ##other, Process Contents: skipfrom group sch:foreign-attributes
Any attribute[0..*]Namespace: ##local, Process Contents: skipfrom group sch:foreign-attributes
abstract [0..1]AnonymousWhen a pattern element has the attribute abstract with a value true, then the pattern defines an abstract pattern. An abstract pattern shall not have a is-a attribute and shall have an id attribute.
id [0..1]xsd:IDA unique name for the pattern and is required for abstract patterns.
is-a [0..1]xsd:IDREFWhen a pattern element has the attribute is-a with a value specifying the name of an abstract pattern, then the pattern is an instance of an abstract pattern. Such a pattern shall not contain any rule elements, but shall have param elements for all parameters used in the abstract pattern.

Used in

Sample instance

<sch:pattern>
   <!--any element-->
</sch:pattern>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com