| Coconut XML Framework
    beta
    | 
Define functions to operate XML node. More...
Go to the source code of this file.
| Functions | |
| static CNBoolean | CNXMLIsEmptyTextNode (xmlNodePtr node) | 
| Check the text node contains only spaces. | |
| CNBoolean | CNXMLCheckElementName (xmlNodePtr node, const xmlChar *name, struct CNXMLDecodeError *error) | 
| Check the XML node is element name and has same name. | |
| xmlNodePtr | CNXMLSearchChildElementNode (xmlNodePtr node, const xmlChar *name, struct CNXMLDecodeError *error) | 
| Search child element node. | |
| const xmlChar * | CNXMLElementTypeToString (xmlElementType type) | 
| Get string to present xmlElementType. | |
Define functions to operate XML node.
| static CNBoolean CNXMLIsEmptyTextNode | ( | xmlNodePtr | node | ) |  [inline, static] | 
Check the text node contains only spaces.
| TRUE | The node is text node and it contains only spaces | 
| FALSE | The node is NOT test node or it contains non-space character | 
| node | Source node | 
| CNBoolean CNXMLCheckElementName | ( | xmlNodePtr | node, | 
| const xmlChar * | name, | ||
| struct CNXMLDecodeError * | error | ||
| ) | 
Check the XML node is element name and has same name.
| TRUE | The node is element node which has given name | 
| FALSE | The node is not element or the element node does not have the given name | 
| node | Source XML node | 
| name | Name to search | 
| error | The error information. This is set when the returned value is FALSE. | 
| xmlNodePtr CNXMLSearchChildElementNode | ( | xmlNodePtr | node, | 
| const xmlChar * | name, | ||
| struct CNXMLDecodeError * | error | ||
| ) | 
Search child element node.
| node | The child node which has the given name | 
| NULL | There are no matched node | 
| node | Source parent XML node | 
| name | Name to search | 
| error | The error information. This is set when the returned value is FALSE. | 
| const xmlChar* CNXMLElementTypeToString | ( | xmlElementType | type | ) | 
Get string to present xmlElementType.
| type | Source element type | 
 1.7.5.1
 1.7.5.1