code: public static String getPrefixPart(String qname)
    {
  
      int index = qname.indexOf(':');
  
      return (index >= 0) ? qname.substring(0, index) : "";
    }
docs: Returns the local name of the given node.
  
  @param qname Input name
  
  @return Prefix of name or empty string if none there