Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Parser

Method Parser.decode_numeric_xml_entity()


Method decode_numeric_xml_entity

string decode_numeric_xml_entity(string chref)

Description

Decodes the numeric XML entity chref , e.g. "4" and returns the character as a string. chref is the name part of the entity, i.e. without the leading '&' and trailing ';'. Returns zero if chref isn't on a recognized form or if the character number is too large to be represented in a string.