Converts
nm
string to the corresponding
entity type. If the string does not have a corresponding
entity type, returns the type corresponding to "CDATA".
Valid entity types are: "PUBLIC", "CDATA", "SDATA", "PI",
"STARTTAG", "ENDTAG", "MS", "MD", "SYSTEM".
Returns:
the corresponding entity type, or the type corresponding
to "CDATA", if none exists
Parameters:
-
nm - the string to be converted