code: public int getExpandedTypeID(int nodeHandle) {
             nodes.readSlot(nodeHandle, gotslot);
             String qName = m_localNames.indexToString(gotslot[3]);
             // Remove prefix from qName
             // %TBD% jjk This is assuming the elementName is the qName.
             int colonpos = qName.indexOf(":");
             String localName = qName.substring(colonpos+1);
             // Get NS
             String namespace = m_nsNames.indexToString(gotslot[0] << 16);
             // Create expanded name
             String expandedName = namespace + ":" + localName;
             int expandedNameID = m_nsNames.stringToIndex(expandedName);
  
          return expandedNameID;
          }
docs: Given a node handle, return an ID that represents the node's expanded name.
  
  @param nodeHandle The handle to the node in question.
  
  @return the expanded-name id of the node.