code: public static String getLocalPart(String qname)
    {
  
      int index = qname.indexOf(':');
  
      return (index < 0) ? qname : qname.substring(index + 1);
    }
docs: Returns the local name of the given node.
  
  @param qname Input name
  
  @return Local part of the name if prefixed, or the given name if not