Go to the source code of this file.
◆ _dom_entity_reference_finalise
◆ _dom_entity_reference_initialise
◆ DOM_ER_PROTECT_VTABLE
#define DOM_ER_PROTECT_VTABLE |
Value:
void _dom_er_destroy(dom_node_internal *node)
Definition entity_ref.c:117
dom_exception _dom_er_copy(dom_node_internal *old, dom_node_internal **copy)
Definition entity_ref.c:123
◆ _dom_entity_reference_create()
Create an entity reference
- Parameters
-
doc | The owning document |
name | The name of the node to create |
value | The text content of the node |
result | Pointer to location to receive created node |
- Returns
- DOM_NO_ERR on success, DOM_NO_MEM_ERR on memory exhaustion.
::doc, ::name and ::value will have their reference counts increased.
The returned node will already be referenced.
◆ _dom_entity_reference_destroy()
Destroy an entity reference
- Parameters
-
entity | The entity reference to destroy |
The contents of ::entity will be destroyed and ::entity will be freed.
◆ _dom_entity_reference_get_textual_representation()
Get the textual representation of an EntityRererence
- Parameters
-
entity | The entity reference to get the textual representation of |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR on success.
The returned string will have its reference count increased. It is the responsibility of the caller to unrer the string once it has finished with it.
◆ _dom_er_copy()
◆ _dom_er_destroy()