match Attribute (override Element)

Microsoft Office InfoPath

Show All Show All

match Attribute (override Element)

Identifies the XML Document Object Model (DOM) node for which the error message override is defined.

Type

      xsd:string
    

Remarks

The match attribute is a required attribute of the override element.

The value of the match attribute must be a valid XPath expression that identifies the XML DOM node.

Example

The following is an example of the match attribute as it is used in the override element:

    <xsf:schemaErrorMessages>
   <xsf:override
      match="/sampleData/number">
      <xsf:errorMessage
         shortMessage="Invalid Number.">
            The value entered must be a valid number.
      </xsf:errorMessage>
   </xsf:override>
</xsf:schemaErrorMessages>