| Bsoft 2.0.5 Bernard's software package

rwxml.h
Go to the documentation of this file.
1
9 #include <libxml/parser.h>
10 #include <libxml/xmlschemas.h>
11 #include "Bstring.h"
12
13 #if defined(OLD_XML)
14 typedef const xmlChar* xmlFormat;
15 #else
16 typedef const char* xmlFormat;
17 #endif
18
19 // Function prototypes
20 int xml_check_for_node(xmlNodePtr parent, const char* tag);
21 int xml_check_for_node_in_tree(xmlNodePtr parent, const char* tag);
22 xmlNodePtr xml_find_node(xmlNodePtr parent, const char* tag);
23 int xml_copy_string(char* string, xmlNodePtr parent, const char* tag);
24 string xml_get_string_attribute(xmlNodePtr parent, const char* tag);
25 long xml_get_integer_attribute(xmlNodePtr parent, const char* tag);
26 double xml_get_real_attribute(xmlNodePtr parent, const char* tag);
27 string xml_get_string(xmlNodePtr parent, const char* tag);
28 long xml_get_integer(xmlNodePtr parent, const char* tag);
29 double xml_get_real(xmlNodePtr parent, const char* tag);
30 xmlAttrPtr xml_set_integer_attribute(xmlNodePtr parent, const char* tag, long value, const char* format);
31 xmlAttrPtr xml_set_real_attribute(xmlNodePtr parent, const char* tag, double value, const char* format);
32 xmlNodePtr xml_set_integer(xmlNodePtr parent, const char* tag, long value, const char* format);
33 xmlNodePtr xml_set_real(xmlNodePtr parent, const char* tag, double value, const char* format);
34 int xml_validate(const xmlDocPtr doc, Bstring& xsdfile);
35
xml_get_string_attribute
string xml_get_string_attribute(xmlNodePtr parent, const char *tag)
xml_check_for_node
int xml_check_for_node(xmlNodePtr parent, const char *tag)
xml_get_integer
long xml_get_integer(xmlNodePtr parent, const char *tag)
xml_find_node
xmlNodePtr xml_find_node(xmlNodePtr parent, const char *tag)
xmlFormat
const char * xmlFormat
Definition: rwxml.h:16
xml_get_real_attribute
double xml_get_real_attribute(xmlNodePtr parent, const char *tag)
xml_set_real_attribute
xmlAttrPtr xml_set_real_attribute(xmlNodePtr parent, const char *tag, double value, const char *format)
xml_get_string
string xml_get_string(xmlNodePtr parent, const char *tag)
xml_get_integer_attribute
long xml_get_integer_attribute(xmlNodePtr parent, const char *tag)
xml_set_integer_attribute
xmlAttrPtr xml_set_integer_attribute(xmlNodePtr parent, const char *tag, long value, const char *format)
Bstring
Definition: Bstring.h:29
xml_validate
int xml_validate(const xmlDocPtr doc, Bstring &xsdfile)
xml_copy_string
int xml_copy_string(char *string, xmlNodePtr parent, const char *tag)
xml_get_real
double xml_get_real(xmlNodePtr parent, const char *tag)
xml_set_integer
xmlNodePtr xml_set_integer(xmlNodePtr parent, const char *tag, long value, const char *format)
Bstring.h
Header file for the string class.
xml_check_for_node_in_tree
int xml_check_for_node_in_tree(xmlNodePtr parent, const char *tag)
xml_set_real
xmlNodePtr xml_set_real(xmlNodePtr parent, const char *tag, double value, const char *format)