libgimpprint API Reference: mxml-attr.c File Reference

Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

# src/main/mxml-attr.c File Reference

`#include <gimp-print/mxml.h>`
`#include "config.h"`

Go to the source code of this file.

## Functions
const char * | stp_mxmlElementGetAttr (stp_mxml_node_t *node, const char *name)
void | stp_mxmlElementSetAttr (stp_mxml_node_t *node, const char *name, const char *value)

## Function Documentation

const char* stp_mxmlElementGetAttr | ( | stp_mxml_node_t * | node,
|  | const char * | name
| ) |

| Definition at line 40 of file mxml-attr.c. References stp_mxml_value_s::attrs, stp_mxml_value_u::element, stp_mxml_attr_s::name, stp_mxml_value_s::num_attrs, stp_mxml_attr_t, STP_MXML_ELEMENT, stp_mxml_node_t, stp_mxml_node_s::type, stp_mxml_attr_s::value, and stp_mxml_node_s::value. Referenced by curve_whitespace_callback(), stp_array_create_from_xmltree(), stp_curve_create_from_xmltree(), stp_mxmlFindElement(), stp_printer_create_from_xmltree(), stp_sequence_create_from_xmltree(), stp_xml_process_dither_matrix(), stp_xml_process_paper(), stpi_dither_array_create_from_xmltree(), and stpi_xml_process_family().

void stp_mxmlElementSetAttr | ( | stp_mxml_node_t * | node,
|  | const char * | name,
|  | const char * | value
| ) |

| Definition at line 82 of file mxml-attr.c. References stp_mxml_value_s::attrs, stp_mxml_value_u::element, stp_mxml_value_s::name, stp_mxml_attr_s::name, stp_mxml_value_s::num_attrs, stp_mxml_attr_t, STP_MXML_ELEMENT, stp_mxml_node_t, stp_mxml_node_s::type, stp_mxml_attr_s::value, and stp_mxml_node_s::value. Referenced by mxml_parse_element(), stp_xmldoc_create_generic(), stp_xmltree_create_from_array(), stp_xmltree_create_from_curve(), and stp_xmltree_create_from_sequence().