Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ChildNodes Property

Office 2003

Returns an XMLNodes collection that represents the child elements of a specified element.

expression.ChildNodes

expression Required. An expression that returns an XMLNode object.

Example

The following example removes the first child element of the root element in the active document.

    ActiveDocument.XMLNodes(1).RemoveChild _
    ActiveDocument.XMLNodes(1).ChildNodes(1)
  


Applies to | XMLNode Object


Show: