#include <stdlib.h>
#include "core/cdatasection.h"
#include "core/document.h"
#include "core/text.h"
#include "utils/utils.h"
◆ __dom_cdata_section_destroy()
◆ _dom_cdata_section_copy()
◆ _dom_cdata_section_create()
Create a CDATA section
- 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 or 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_cdata_section_destroy()
Destroy a CDATA section
- Parameters
-
| cdata | The cdata section to destroy |
The contents of cdata will be destroyed and cdata will be freed.