GetXPath() public static method

public static GetXPath ( System.Xml.Linq.XElement fromElement, System.Xml.Linq.XElement toElement ) : string
fromElement System.Xml.Linq.XElement
toElement System.Xml.Linq.XElement
return string
 public static void SetReferenceTarget(this XElement element, XElement target)
 {
     element.SetAttributeValue(ReferenceAttributeName, XPathHelper.GetXPath(element, target));
 }