Code example for NamedNodeMap

Methods: item

   *         is available, or null if the index is out of 
   *         range. 
  public String getURI(int index)
    String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index)));
    if(null == ns)
      ns = "";
    return ns;
   * Look up an attribute's local name by index. 
   * @param index The attribute index (zero-based). 
   * @return The local name, or the empty string if Namespace 
   *         processing is not being performed, or null 
   *         if the index is out of range. 
  public String getLocalName(int index)