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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp