XMLNode.SelectNodes Method
Word Developer Reference |
Returns an XMLNodes collection that represents all the child elements that match the XPath parameter, in the order in which they appear within the specified XML element.
Syntax
expression.SelectNodes(XPath, PrefixMapping, FastSearchSkippingTextNodes)
expression An expression that returns an XMLNode object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
XPath | Required | String | Specifies a valid XPath string. For more information on XPath, see the XPath reference documentation on the Microsoft Developer Network (MSDN) Web site. |
PrefixMapping | Optional | String | Provides the prefix in the schema against which to perform the search. Use the PrefixMapping parameter if your XPath parameter uses names to search for elements. |
FastSearchSkippingTextNodes | Optional | Boolean | True skips all text nodes while searching for the specified node. False includes text nodes in the search. Default value is False. |
Return Value
XMLNodes
See Also