role

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.

Attribute Information

Used By

Attribute Group sch:linkable

Source

<xs:attribute name="role" type="sch:roleValue">
  <xs:annotation>
    <xs:documentation>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.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Sample