Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.