Modules | |
| Comment | |
| Document | |
| Element | |
| Text | |
Data Structures | |
| struct | _dom_node |
Defines | |
| #define | DOM_NDOE_TYPE_INVALID 0x0000 |
| #define | DOM_NODE_TYPE_DOCUMENT 0x0001 |
| #define | DOM_NODE_TYPE_ELEMENT 0x0002 |
| #define | DOM_NODE_TYPE_ATTRIBUTE 0x0003 |
| #define | DOM_NODE_TYPE_TEXT 0x0004 |
| #define | DOM_NODE_TYPE_COMMENT 0x0005 |
Typedefs | |
| typedef _dom_node | DOM_NODE |
Functions | |
| DOM_NODE * | domNodeNew (unsigned long type, const char *name, const char *value) |
| void | domNodeDestroySpecific (DOM_NODE *node) |
| void | domNodeDestroy (DOM_NODE *node) |
| void | domNodeAppendChild (DOM_NODE *parent, DOM_NODE *child) |
| void | domNodeAppendSibling (DOM_NODE *node, DOM_NODE *sibling) |
| void | domNodeRemoveChild (DOM_NODE *parent, DOM_NODE *child) |
| DOM_NODE * | domNodeGetFirstChild (DOM_NODE *node) |
| DOM_NODE * | domNodeGetPreviousSibling (DOM_NODE *node) |
| DOM_NODE * | domNodeGetNextSibling (DOM_NODE *node) |
| void | domNodeSetName (DOM_NODE *node, const char *name) |
| const char * | domNodeGetName (DOM_NODE *node) |
| void | domNodeSetValue (DOM_NODE *node, const char *value) |
| void | domNodeSetValueVariant (DOM_NODE *node, enum VariantType type, void *value, unsigned long valueSize) |
| const char * | domNodeGetValue (DOM_NODE *node) |
| void * | domNodeGetValueVariant (DOM_NODE *node, enum VariantType type) |
| DOM_NODE * | domNodeFindNodeByName (DOM_NODE *node, const char *name) |
| _dom_node_list * | domNodeFindNodesByName (DOM_NODE *node, const char *name) |
| void | domNodeFindNodesByName_r (struct _dom_node_list *nodeList, DOM_NODE *node, const char *name) |
| void | domNodeSerializeToFile (DOM_NODE *node, const char *fileName) |
| void | domNodeSerializeToFd (DOM_NODE *node, FILE *fd) |
| unsigned long | domNodeSerializeToString (DOM_NODE *node, char **string) |
| void | domNodeSerializeToString_r (DOM_NODE *node, char **string, unsigned long *stringLength) |
|
|
The most basic form of all DOM nodes. |
|
||||||||||||
|
Appends a child to a node.
|
|
||||||||||||
|
Appends a sibling to a node.
|
|
|
Recursively destroys a given node.
|
|
|
Destroys a specific node. This is only used internally.
|
|
||||||||||||
|
Finds the first node (recursively) that matches the given name.
|
|
||||||||||||
|
Finds all nodes (recursively) that match the gievn name.
|
|
|
Returns the first child of a node.
|
|
|
Returns the name associated with the node.
|
|
|
Returns the next sibling relative to the given node.
|
|
|
Returns the previous sibling relative to the given node.
|
|
|
Returns the string value associated with the node. Variant type manipulation (For information on variant manipulation)
|
|
||||||||||||
|
Returns the variant value associated with the string. Variant type manipulation (For information on variant manipulation)
|
|
||||||||||||||||
|
Constructs a basic node from the provided parameters. Type can be any one of the following:
|
|
||||||||||||
|
Removes a child.
|
|
||||||||||||
|
Serializes a given node to a file descriptor.
|
|
||||||||||||
|
Serializes a given node to a file.
|
|
||||||||||||
|
Serializes a given node to a string. This string must be deallocate with free() when it is dnoe being used.
|
|
||||||||||||
|
Sets the name of the node.
|
|
||||||||||||
|
Sets the string value of the node.
|
|
||||||||||||||||||||
|
Sets the value of the node from a variant type.
|
1.3-rc3