| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Parser
Parser.XML
Parser.XML.Simple

# Method Parser.XML.Simple()->define_entity()

Method define_entity

  `void define_entity(string entity, string s, function cb, mixed ... extras)`

Description

  Define an entity or an SMEG.

Parameter `entity`

  Entity name, or SMEG name (if preceeded by a `"%"`).

Parameter `s`

  Expansion of the entity. Entity evaluation will be performed.

See also

  define_entity_raw()