code: public Node getNamedItem(String name)
    {
  
      for (int n = dtm.getFirstAttribute(element); n != DTM.NULL;
              n = dtm.getNextAttribute(n))
      {
        if (dtm.getNodeName(n).equals(name))
          return dtm.getNode(n);
      }
  
      return null;
    }
docs: Retrieves a node specified by name.
  @param name The <code>nodeName</code> of a node to retrieve.
  @return A <code>Node</code> (of any type) with the specified
  <code>nodeName</code>, or <code>null</code> if it does not identify
  any node in this map.