Extracted from Pike v7.3 release 14 at 2002-02-15.
pike.roxen.com
[Top]
Parser

Method Parser.decode_numeric_xml_entity()


Method decode_numeric_xml_entity

string Parser.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.