![]() |
Oyranos Colour Management System API |
xml handling More...
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <libxml/parser.h>#include "config.h"#include "oyranos.h"#include "oyranos_debug.h"#include "oyranos_helper.h"#include "oyranos_internal.h"Functions | |
| void | oyWriteOptionToXML_ (oyGROUP_e group, oyWIDGET_e start, oyWIDGET_e end, char **text, uint32_t flags) |
| const char * | oyXFORMsModelGetAttrValue (xmlNodePtr cur, const char *attr_name) |
| get the xml elements attribute value | |
| const char * | oyXFORMsModelGetXPathValue (xmlNodePtr cur, const char *attr_name, const char **path) |
| get the xforms model value of a corresponding layout node | |
| int | oyXMLNodeNameIs (xmlNodePtr cur, const char *node_name) |
| string compare with a joined namespace and node name | |
| const char * | oyXML2NodeValue (xmlNodePtr cur) |
| get a node childs text value | |
xml handling
Oyranos is an open source Colour Management System
| void oyWriteOptionToXML_ | ( | oyGROUP_e | group, |
| oyWIDGET_e | start, | ||
| oyWIDGET_e | end, | ||
| char ** | text, | ||
| uint32_t | flags | ||
| ) |
write option range to text, allocating memory on demand
| [in] | flags | - 1: add group start
|
References oyWIDGETTYPE_BEHAVIOUR.
| const char* oyXFORMsModelGetAttrValue | ( | xmlNodePtr | cur, |
| const char * | attr_name | ||
| ) |
get the xml elements attribute value
Function oyXFORMsModelGetAttrValue
| [in] | cur | the libxml2 node |
| [in] | attr_name | the nodes attribute |
Referenced by oyXFORMsModelGetXPathValue().
| const char* oyXFORMsModelGetXPathValue | ( | xmlNodePtr | cur, |
| const char * | attr_name, | ||
| const char ** | xpath | ||
| ) |
get the xforms model value of a corresponding layout node
Function oyXFORMsModelGetXPathValue
| [in] | cur | the libxml2 node |
| [in] | attr_name | the nodes attribute, only "ref" ? |
| [out] | xpath | the xpath of the referenced key |
References oyXFORMsModelGetAttrValue().
| const char* oyXML2NodeValue | ( | xmlNodePtr | cur | ) |
get a node childs text value
Function oyXML2NodeValue
| [in] | cur | the libxml2 node |
| int oyXMLNodeNameIs | ( | xmlNodePtr | cur, |
| const char * | node_name | ||
| ) |
string compare with a joined namespace and node name
Function oyXMLNodeNameIs