Export (0) Print
Expand All
Expand Minimize

domEventHandler Element

Office 2007

Defines an event handler for one or more specific XML Document Object Model (DOM) nodes.

Type

xsd:complexType

Structure

NameDescription
handlerObject(Required attribute) Identifies the unique name of the event handler in the scripting code.
match(Required attribute) Identifies the XML DOM node for which the event handler is declared. Value must be a valid XPath expression that identifies the XML node.
dataObject(Optional attribute) Contains the name of the dataObject to be used in the event handler.

Remarks

The domEventHandler element is an optional element of the domEventHandlers element.

Example

The following is an example of the domEventHandler element:

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


Community Additions

ADD
Show:
© 2014 Microsoft