xPath
Returns the XPath expression identifying the receiver’s location in the document tree.
Declaration
var xPath: String? { get }Discussion
For example, this method might return a string such as “foo/bar[2]/baz”. The result of this method can be used directly in the nodes(forXPath:) and objects(forXQuery:constants:) methods.