public static void SetReferenceTarget(this XElement element, XElement target)
 {
     element.SetAttributeValue(ReferenceAttributeName, XPathHelper.GetXPath(element, target));
 }