?? xmlhelp.h
字號:
#ifndef _XMLHELP_H_#define _XMLHELP_H_#include <libxml/parser.h>struct xml_privdata { void *filterinststorage; xmlNodePtr filterlist;};/* Is the given node an <element> of the given type? */int xml_isnode(xmlNodePtr, const char *);/* Return the <node>text content</node> of the given node. Return NULL on error */char *xml_getcontent(xmlNodePtr);/* Same as above, but return the given default instead of NULL on error */char *xml_getcontent_def(xmlNodePtr, char *);/* Returns the content of a node as int, or the given default on error */int xml_atoi(xmlNodePtr, int);/* Ditto for doubles */double xml_atof(xmlNodePtr, double);/* Returns the value of the given attribute of the given node */char *xml_attrval(xmlNodePtr, char *);/* Returns the root node of a doc, provided for compatibility */xmlNodePtr xml_root(xmlDocPtr);/* Allocates an xml_privdata struct into given node if not already present */struct xml_privdata *xml_privdata(xmlNodePtr);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -