code: public static String getPrefixFromXMLNSDecl(String attRawName)
    {
  
      int index = attRawName.indexOf(':');
  
      return (index >= 0) ? attRawName.substring(index + 1) : "";
    }
docs: This function tells if a raw attribute name is a
  xmlns attribute.
  
  @param attRawName Raw name of attribute
  
  @return Prefix of attribute