ReasonCodeExample.XPathInformation.Writers.XPathWriter.WriteElementNameWithoutPrefix C# (CSharp) Method

WriteElementNameWithoutPrefix() protected method

protected WriteElementNameWithoutPrefix ( System.Xml.Linq.XName name ) : void
name System.Xml.Linq.XName
return void
        protected virtual void WriteElementNameWithoutPrefix(XName name)
        {
            XPath.AppendFormat("*[local-name()='{0}'][namespace-uri()='{1}']", name.LocalName, name.NamespaceName);
        }