public static string TagEncode(string xmlTag) { return _regexencode.Replace(xmlTag, EncoderMatch); }
private static string EncodedPath(ProfilePath path) { string[] paths = new string[path.Length]; for (int i = 0; i < path.Length; i++) { paths[i] = XmlNormalizer.TagEncode(path[i]); } return(string.Join("/", paths)); }