PRInt32 Node::getNamespaceID() { return mNamespaceID; }
static PRInt32 getNamespaceID(const nsAString& aURI) { if (!mNamespaces && !init()) return kNameSpaceID_Unknown;  PRInt32 id = mNamespaces->IndexOf(aURI); if (id != -1) { return id + 1; }  if (!mNamespaces->AppendString(aURI)) { NS_ASSERTION(0, "Out of memory, namespaces are getting lost"); return kNameSpaceID_Unknown; }  return mNamespaces->Count(); }
PRInt32 Node::getNamespaceID(){    return mNamespaceID;}