|
Robotran C Documentation
|
Go to the documentation of this file.
19 #include <libxml/tree.h>
20 #include <libxml/parser.h>
23 #define XML_ERR ">> XML>> "
24 #define XML_PRE " >> "
92 #ifndef xmlChildrenNode
93 #define xmlChildrenNode children
96 #define BAD_CAST (xmlChar *)
97 #define XML_ERR_INVALID_CHAR 9
98 #define XML_IO_LOAD_ERROR 1549
103 XML_PRE"Code compiled without XML library.\n"
104 XML_PRE"To use this module, compile MBsysC with XML library.\n",
112 XML_PRE"Code compiled without XML library.\n"
113 XML_PRE"To use this module, compile MBsysC with XML library.\n",
121 XML_PRE"Code compiled without XML library.\n"
122 XML_PRE"To use this module, compile MBsysC with XML library.\n",
129 XML_PRE"Code compiled without XML library.\n"
130 XML_PRE"To use this module, compile MBsysC with XML library.\n",
138 XML_PRE"Code compiled without XML library.\n"
139 XML_PRE"To use this module, compile MBsysC with XML library.\n",
147 XML_PRE"Code compiled without XML library.\n"
148 XML_PRE"To use this module, compile MBsysC with XML library.\n",
156 XML_PRE"Code compiled without XML library.\n"
157 XML_PRE"To use this module, compile MBsysC with XML library.\n",
166 XML_PRE"Code compiled without XML library.\n"
167 XML_PRE"To use this module, compile MBsysC with XML library.\n",
175 XML_PRE"Code compiled without XML library.\n"
176 XML_PRE"To use this module, compile MBsysC with XML library.\n",
184 XML_PRE"Code compiled without XML library.\n"
185 XML_PRE"To use this module, compile MBsysC with XML library.\n",
193 XML_PRE"Code compiled without XML library.\n"
194 XML_PRE"To use this module, compile MBsysC with XML library.\n",
202 XML_PRE"Code compiled without XML library.\n"
203 XML_PRE"To use this module, compile MBsysC with XML library.\n",
211 XML_PRE"Code compiled without XML library.\n"
212 XML_PRE"To use this module, compile MBsysC with XML library.\n",
220 XML_PRE"Code compiled without XML library.\n"
221 XML_PRE"To use this module, compile MBsysC with XML library.\n",
228 XML_PRE"Code compiled without XML library.\n"
229 XML_PRE"To use this module, compile MBsysC with XML library.\n",
236 XML_PRE"Code compiled without XML library.\n"
237 XML_PRE"To use this module, compile MBsysC with XML library.\n",
#define XML_PRE
Definition: mbs_xml.h:24
@ XML_ENTITY_NODE
Definition: mbs_xml.h:51
struct _xmlNode * children
Definition: mbs_xml.h:82
void mbs_msg(const char *msg,...)
Send a message.
Definition: mbs_message.c:87
struct _xmlAttr * properties
Definition: mbs_xml.h:77
static xmlChar * xmlNodeListGetString(xmlDocPtr doc, const xmlNode *list, int inLine)
Definition: mbs_xml.h:109
@ XML_XINCLUDE_END
Definition: mbs_xml.h:65
unsigned char xmlChar
Definition: mbs_xml.h:39
struct _xmlNs xmlNs
Definition: mbs_xml.h:36
static xmlAttrPtr xmlSetProp(xmlNodePtr node, const xmlChar *name, const xmlChar *value)
Definition: mbs_xml.h:162
static void xmlFreeDoc(xmlDocPtr cur)
Definition: mbs_xml.h:217
int code
Definition: mbs_xml.h:87
static xmlDocPtr xmlParseFile(const char *filename)
Definition: mbs_xml.h:199
xmlNs * xmlNsPtr
Definition: mbs_xml.h:37
struct _xmlDoc * doc
Definition: mbs_xml.h:84
xmlElementType
Definition: mbs_xml.h:44
@ XML_HTML_DOCUMENT_NODE
Definition: mbs_xml.h:58
static xmlChar * xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input)
Definition: mbs_xml.h:126
char * message
Definition: mbs_xml.h:88
xmlDoc * xmlDocPtr
Definition: mbs_xml.h:28
@ XML_ATTRIBUTE_NODE
Definition: mbs_xml.h:47
const xmlChar * name
Definition: mbs_xml.h:72
xmlNode * xmlNodePtr
Definition: mbs_xml.h:31
static int xmlKeepBlanksDefault(int val)
Definition: mbs_xml.h:190
@ XML_NOTATION_NODE
Definition: mbs_xml.h:57
struct _xmlDoc xmlDoc
Definition: mbs_xml.h:27
#define XML_ERR
Definition: mbs_xml.h:23
xmlError * xmlErrorPtr
Definition: mbs_xml.h:42
@ XML_COMMENT_NODE
Definition: mbs_xml.h:53
static void xmlFree(xmlChar *xml)
Definition: mbs_xml.h:118
static xmlNodePtr xmlDocGetRootElement(const xmlDoc *doc)
Definition: mbs_xml.h:172
const xmlChar * name
Definition: mbs_xml.h:81
static void xmlNodeSetContent(xmlNodePtr cur, const xmlChar *content)
Definition: mbs_xml.h:135
@ XML_DOCB_DOCUMENT_NODE
Definition: mbs_xml.h:66
struct _xmlNode * parent
Definition: mbs_xml.h:74
struct _xmlDoc * doc
Definition: mbs_xml.h:76
static xmlErrorPtr xmlGetLastError(void)
Definition: mbs_xml.h:208
@ XML_PI_NODE
Definition: mbs_xml.h:52
struct _xmlAttr * next
Definition: mbs_xml.h:83
@ XML_DOCUMENT_FRAG_NODE
Definition: mbs_xml.h:56
@ XML_ENTITY_DECL
Definition: mbs_xml.h:62
@ XML_ENTITY_REF_NODE
Definition: mbs_xml.h:50
xmlElementType type
Definition: mbs_xml.h:80
@ XML_TEXT_NODE
Definition: mbs_xml.h:48
@ XML_DOCUMENT_TYPE_NODE
Definition: mbs_xml.h:55
@ XML_XINCLUDE_START
Definition: mbs_xml.h:64
static xmlNodePtr xmlNewDocNode(xmlDocPtr doc, xmlNsPtr ns, const xmlChar *name, const xmlChar *content)
Definition: mbs_xml.h:143
static xmlNodePtr xmlAddPrevSibling(xmlNodePtr cur, xmlNodePtr elem)
Definition: mbs_xml.h:181
static void xmlUnlinkNode(xmlNodePtr cur)
Definition: mbs_xml.h:233
@ XML_ATTRIBUTE_DECL
Definition: mbs_xml.h:61
static xmlNodePtr xmlAddChild(xmlNodePtr parent, xmlNodePtr cur)
Definition: mbs_xml.h:153
@ XML_CDATA_SECTION_NODE
Definition: mbs_xml.h:49
struct _xmlNode * next
Definition: mbs_xml.h:75
@ XML_DTD_NODE
Definition: mbs_xml.h:59
xmlElementType type
Definition: mbs_xml.h:71
struct _xmlNode * children
Definition: mbs_xml.h:73
@ XML_ELEMENT_DECL
Definition: mbs_xml.h:60
@ XML_NAMESPACE_DECL
Definition: mbs_xml.h:63
static int xmlSaveFormatFile(const char *filename, xmlDocPtr cur, int format)
Definition: mbs_xml.h:100
xmlAttr * xmlAttrPtr
Definition: mbs_xml.h:34
static void xmlFreeNode(xmlNodePtr cur)
Definition: mbs_xml.h:225
@ XML_ELEMENT_NODE
Definition: mbs_xml.h:46
@ XML_DOCUMENT_NODE
Definition: mbs_xml.h:54