sch:linkable

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
role sch:roleValue optional
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.
subject sch:pathValue optional
A 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.

Used By

Element sch:rule
Complex Type sch:assertReportType

Source

<xs:attributeGroup name="linkable">
  <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>
  <xs:attribute name="subject" type="sch:pathValue">
    <xs:annotation>
      <xs:documentation>A 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.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:attributeGroup>