XPath Node Selection
There are various ways to specify the XPath for an XML node in an API request. The simplest is to use the location path of the resource. For example, to select all users within your management configuration, use the following path:
The above path specifies the following XML node that includes all users:
<users> <entry name="admin"> <permissions> <role-based> <superuser>yes</superuser> </role-based> </permissions> </entry> <entry name="guest"> <permissions> <role-based> <custom> <profile>NewUser</profile> </custom> </role-based> </permissions> </entry> </users>
Another method for selecting the XPath for an XML node is to select the specific node, such as the
NewUsernode within the node shown above. Use XPath syntax similar to the following to drill-down and select a specific node:
Recommended For You
Recommended videos not found.