sqf:with-param

With the help of this element, QuickFix calls can be specified. A<icode type="element">sqf:with-param</icode>element refers to a parameter of the called QuickFix.

The content or the<icode type="attribute">select</icode>attribute define the value of the parameter. If there is content, the<icode type="element">sqf:with-param</icode>element should not have a<icode type="attribute">select</icode>attribute.

Element Information

Model

ANY element from ANY namespace

Attributes

QName Type Fixed Default Use Inheritable Annotation
name xs:string required
Value
The name of the referred parameter.
select xs:string optional
This attribute defines with a XPath expression the value of the parameter. If the attribute is set, the<icode type="element">sqf:with-param</icode>element must be empty.
Value
Must be a valid XPath expression.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron'

Used By

Element sqf:call-fix

Source

<xs:element name="with-param">
  <xs:annotation>
    <xs:documentation>With the help of this element, QuickFix calls can be specified. A
      <icode type="element">sqf:with-param</icode>element refers to a parameter of the called QuickFix.</xs:documentation>
    <xs:documentation>The content or the
      <icode type="attribute">select</icode>attribute define the value of the parameter. If there is content, the
      <icode type="element">sqf:with-param</icode>element should not have a
      <icode type="attribute">select</icode>attribute.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:any processContents="lax"/>
    </xs:choice>
    <xs:attribute name="name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation source="Value">The name of the referred parameter.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="select" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This attribute defines with a XPath expression the value of the parameter. If the attribute is set, the
          <icode type="element">sqf:with-param</icode>element must be empty.</xs:documentation>
        <xs:documentation source="Value">Must be a valid XPath expression.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="sch:foreign"/>
  </xs:complexType>
</xs:element>

Sample