code: public static boolean isXMLNamePart(int codepoint) {
  
  		if (isXMLNameStart(codepoint)) {
  			return true;
  		} else if (codepoint >= Character.codePointAt("0", 0)
  				&& codepoint <= Character.codePointAt("9", 0)) {
  			return true;
  		} else if (codepoint == Character.codePointAt("-", 0)) {
  			return true;
  		} else if (codepoint == Character.codePointAt(".", 0)) {
  			return true;
  		} else if (codepoint == 0xB7) {
  			return true;
  		} else if (codepoint >= 0x0300 && codepoint <= 0x036F) {
  			return true;
  		} else if (codepoint >= 0x203F && codepoint <= 0x2040) {
  			return true;
  		} else {
  			return false;
  		}
  	}
docs: Determine if the given character is a legal non-starting character for an
  XML name. Note that although a colon is a legal value its use is strongly
  discouraged and this method will return false for a colon.
  
  The list of valid characters can be found in the <a
  href="http://www.w3.org/TR/xml/0sec-common-syn">Common Syntactic
  Constructs section</a> of the XML specification.
  
  @param codepoint int value of the code point to check
  
  @return true if the character may appear as a non-starting letter of an
  XML name; false otherwise