|
XenevaOS
|
#include <stdlib.h>#include "core/cdatasection.h"#include "core/document.h"#include "core/text.h"#include "utils/utils.h"
Classes | |
| struct | dom_cdata_section |
Functions | |
| dom_exception | _dom_cdata_section_create (dom_document *doc, dom_string *name, dom_string *value, dom_cdata_section **result) |
| void | _dom_cdata_section_destroy (dom_cdata_section *cdata) |
| void | __dom_cdata_section_destroy (dom_node_internal *node) |
| dom_exception | _dom_cdata_section_copy (dom_node_internal *old, dom_node_internal **copy) |
| void __dom_cdata_section_destroy | ( | dom_node_internal * | node | ) |
| dom_exception _dom_cdata_section_copy | ( | dom_node_internal * | old, |
| dom_node_internal ** | copy | ||
| ) |
| dom_exception _dom_cdata_section_create | ( | dom_document * | doc, |
| dom_string * | name, | ||
| dom_string * | value, | ||
| dom_cdata_section ** | result | ||
| ) |
Create a CDATA section
| 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 |
doc, name and value will have their reference counts increased.
The returned node will already be referenced.
| void _dom_cdata_section_destroy | ( | dom_cdata_section * | cdata | ) |
Destroy a CDATA section
| cdata | The cdata section to destroy |
The contents of cdata will be destroyed and cdata will be freed.