pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Parser

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.

Module reference for Pike v7.8 release 116, 2008-12-31