Export (0) Print
Expand All
Expand Minimize

override Element

Office 2007

Defines one overriding error message for XML Schema data type errors for an individual XML Document Object Model (DOM) node.

Type

xsd:complexType

Structure

NameDescription
errorMessage(Required element) Specifies the error message that should be returned if the value of the specified XML DOM node is considered to be invalid.
match(Required attribute) Identifies the XML DOM node for which the error message override is defined.

Remarks

The override element is an optional element of the schemaErrorMessages element.

Example

The following is an example of 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>


Community Additions

ADD
Show:
© 2014 Microsoft