private static void applyEnumMember(EnumDataType enumdt, XmlElement memberElem,
			TaskMonitor monitor, MessageLog log) {
		String name = SymbolUtilities.replaceInvalidChars(memberElem.getAttribute("name"), false);
		int memberValue = XmlUtilities.parseInt(memberElem.getAttribute("value"));
		try {
			enumdt.add(name, memberValue);
		}
		catch (Exception e) {
			log.appendMsg("PDB", "Enum " + enumdt.getName() + ": " + e.getMessage());
		}
	}
Perform parsing and applying of enum datatypes
@param pdbParser PDB parser object
@param xmlParser XML parser position immediately after the enums start element
@param monitor task monitor
@param log message log
@throws CancelledException if task cancelled
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/ApplyEnums.java