match Attribute (domEventHandler Element)
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

match Attribute (domEventHandler Element)

Office 2007

Identifies the XML Document Object Model (DOM) node for which the event handler is declared.

Type

xsd:string

Remarks

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

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

Bb230450.vs_note(en-us,office.12).gif  Note
The XPath expression cannot contain predicates.

Example

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

<xsf:domEventHandlers>
   <xsf:domEventHandler
      match="TravelReport/Expenses"
      handlerObject="TravelExpenses"/>
</xsf:domEventHandlers>


Show:
© 2016 Microsoft