EntityResolver
do- edited this page Nov 24, 2021
·
4 revisions
EntityResolver is used by XMLReader for resolving Character and Entity References.
Currently, only 5 predefined entities and numerical ones are supported.
Name, Params | Type | Description |
---|---|---|
fix (string) | string | Replace all entity references with the corresponding values and return the resulting string |
Name | Type | Description |
---|---|---|
body | Map | Entity definition cache: 'amp' => '&' etc. |