b345ff412e8bfa1c4b93889c6666db88a8c28c58
[libi2ncommon] / xmllib / xmlcommon.hpp
1 /***************************************************************************
2                    xmlcommon.hxx - Common XML functions
3                              -------------------
4     begin                : Tue Apr 27 2004
5     copyright            : (C) 2004 by Intra2net AG
6     email                : info@intra2net.com
7  ***************************************************************************/
8
9 #ifndef __XMLCOMMON
10 #define __XMLCOMMON
11
12 #include <libxml++/libxml++.h>
13 #include <string>
14
15 namespace I2n {
16
17 void xml_validate_dtd(xmlpp::Node *root, const std::string &subsetname, const std::string &dtdname);
18
19 std::string xml_get_child_content(xmlpp::Node *base, const std::string &elementname);
20 std::string xml_get_text_content(xmlpp::Node *node, const std::string &elementname);
21
22 }
23
24 #endif