public string ToExpandedString() { return ns != null ? String.Format("{0}:{1}", ns, name) : String.Format("{0}:{1}", prefix, name); }