public bool IsNs(string ns) { return Ref.Equal(ns, NamespaceUri); } public bool IsKeyword(string kwd) { return Ref.Equal(kwd, LocalName); }