VersionOne.Profile.XmlNormalizer.TagDecode C# (CSharp) Method

TagDecode() public static method

public static TagDecode ( string xmlTag ) : string
xmlTag string
return string
		public static string TagDecode(string xmlTag)
		{
			return _regexdecode.Replace(xmlTag, DecoderMatch);
		}

Usage Example

Esempio n. 1
0
        private void LoadXml(XmlElement element, ProfilePath path)
        {
            if (element.HasAttribute("value"))
            {
                string value = element.GetAttribute("value");
                LoadValue(path, value);
            }

            foreach (XmlNode xmlnode in element.ChildNodes)
            {
                XmlElement child = xmlnode as XmlElement;
                if (child != null)
                {
                    LoadXml(child, new ProfilePath(path, XmlNormalizer.TagDecode(child.LocalName)));
                }
            }
        }