<%@ page language="C#" masterpagefile="~/templates/Documentation.master" inherits="Page" pagetitle="Obtaining the XPath for a Node" keywords="Obtaining the XPath for a Node"%>

Obtaining the XPath for a Node

To obtain the XPath expression that returns a particular node:
1. In the XML editor, click the Tree tab.
2. Right-click the node for which you want the XPath expression.
3. In the shortcut menu that appears, click Copy XPath Query to Clipboard.
4. Press Ctrl+V to paste the XPath expression where you want it.