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

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

sch:report

An assertion made about the context nodes. The data content is a natural-language assertion.

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
test [1..1]sch:exprValueAn assertion test evaluated in the current context. If the test evaluates positive, the report succeeds.
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
id [0..1]xsd:ID
diagnostics [0..1]xsd:IDREFSA reference to further diagnostic information.
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

Used in

Sample instance

<sch:report test="string">Any text, intermingled with:
   <!--any element-->
</sch:report>

Site developed and hosted by Datypic, Inc.

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