code: public String getNamespaceFromExpandedNameID(int ExpandedNameID) {
  
             String expandedName = m_localNames.indexToString(ExpandedNameID);
             // Remove local name from expanded name
             int colonpos = expandedName.indexOf(":");
             String nsName = expandedName.substring(0, colonpos);
  
          return nsName;
          }
docs: Given an expanded-name ID, return the namespace URI part.
  
  @param ExpandedNameID an ID that represents an expanded-name.
  @return String URI value of this node's namespace, or null if no
  namespace was resolved.