sch:param

A name-value pair providing parameters for an abstract pattern.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
name sch:nameValue required
The required name attribute is an XML name with no colon.
value sch:non-empty-string required
The required value attribute is a fragment of a query.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron'

Used By

Element sch:pattern

Source

<xs:element name="param">
  <xs:annotation>
    <xs:documentation>A name-value pair providing parameters for an abstract pattern.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="name" use="required" type="sch:nameValue">
      <xs:annotation>
        <xs:documentation>The required name attribute is an XML name with no colon.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="value" use="required" type="sch:non-empty-string">
      <xs:annotation>
        <xs:documentation>The required value attribute is a fragment of a query.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="sch:foreign"/>
  </xs:complexType>
</xs:element>

Sample