Skip to content

EntityResolver

do- edited this page Nov 24, 2021 · 4 revisions

EntityResolver is used by XMLReader for resolving Character and Entity References.

Limitations

Currently, only 5 predefined entities and numerical ones are supported.

Methods

Name, Params Type Description
fix (string) string Replace all entity references with the corresponding values and return the resulting string

Members

Name Type Description
body Map Entity definition cache: 'amp' => '&' etc.