private static string StripOptionalNamespacePrefix(string attributeValue) { if (attributeValue == null) { return null; } int p = attributeValue.IndexOf(':'); if (p < 0) { return attributeValue; } return attributeValue.Substring(p + 1); }