📄 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 + -