Is there some built-in way to output a node's basic XPath without iterating
upward through an XmlNode's parent hierarchy? I have a scenario where I
need to tell the user there was an error with a particular node, but I want
to express it as:
"There was an error with node Root/Parent2/Child2@Attribute1", but all the
methods I've looked up are more along the lines of "FromXPath". I'm
currently using a while loop to build a string with a path, but I'd rather
just call some framework method if one exists.