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

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

sch:rule

A list of assertions tested within the context specified by the required context attribute.

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
flag [0..1]sch:flagValueThe name of a Boolean flag variable used to convey state or severity information to a subsequent process.from group sch:flag
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
role [0..1]sch:roleValueA 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:linkable
subject [0..1]sch:pathValueA path allowing more precise specification of nodes. The path expression is evaluated in the context of the context node of the current rule. If no subject attribute is specified, the current subject node may be used.from group sch:linkable
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 the rule element has the attribute abstract with a value true, then the rule is an abstract rule. An abstract rule shall not have a context attribute.
id [0..1]xsd:ID
context [0..1]sch:pathValueThe rule context expression.

Used in

Sample instance

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

Site developed and hosted by Datypic, Inc.

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