Method | Description | |
---|---|---|
GetAbsoluteXPath ( this element ) : string |
Get the absolute XPath to a given XElement, including the namespace. (e.g. "/a:people/b:person[6]/c:name[1]/d:last[1]").
|
|
GetAbsoluteXPathWithIndex ( this element ) : string | ||
IndexPosition ( this element ) : int |
Get the index of the given XElement relative to its siblings with identical names. If the given element is the root, -1 is returned.
|
public static GetAbsoluteXPath ( this element ) : string | ||
element | this | |
return | string |
public static GetAbsoluteXPathWithIndex ( this element ) : string | ||
element | this | |
return | string |
public static IndexPosition ( this element ) : int | ||
element | this | /// The element to get the index of. /// |
return | int |