sch:name
Provides the names of nodes from the instance document to allow clearer assertions and diagnostics.
Element information
Namespace: http://purl.oclc.org/dsdl/schematron
Schema document: schematron.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Empty content
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
path | [0..1] | sch:pathValue | An expression evaluated in the current context that returns a string that is the name of a node. | |
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:assert
- Anonymous type of element sch:report
Sample instance
<sch:name/>