private string ToElementName(SimpleXmlElementRef elementRef) { if (string.IsNullOrEmpty(elementRef.Namespace)) { return(elementRef.Name); } return(string.Format("{0}:{1}", GetPrefix(elementRef.Namespace), elementRef.Name)); }
private string ToElementName(SimpleXmlElementRef elementRef) { if (string.IsNullOrEmpty(elementRef.Namespace)) return elementRef.Name; return string.Format("{0}:{1}", GetPrefix(elementRef.Namespace), elementRef.Name); }