xml.addentity
Adds an entity description. The entity must have been described before the gettext method is called. Below you can see the list of entities described by default:
& - &;
" - ";
' - ';
> - >;
< - <;
method xml.addentity (
str key,
str value
)
str key,
str value
)
Parameters
key | Key (an entity name - &entity_name; ). |
value | Entity value is a string that will be pasted into the text. |
Related links | Source |