Remove default hash algorithm from the new hash functions
[libi2ncommon] / xmllib / xmlcommon.hpp
CommitLineData
0e23f538
TJ
1/*
2The software in this package is distributed under the GNU General
3Public License version 2 (with a special exception described below).
4
5A copy of GNU General Public License (GPL) is included in this distribution,
6in the file COPYING.GPL.
7
8As a special exception, if other files instantiate templates or use macros
9or inline functions from this file, or you compile this file and link it
10with other works to produce a work based on this file, this file
11does not by itself cause the resulting work to be covered
12by the GNU General Public License.
13
14However the source code for this file must still be made available
15in accordance with section (3) of the GNU General Public License.
16
17This exception does not invalidate any other reasons why a work based
18on this file might be covered by the GNU General Public License.
19*/
ce6792dd
TJ
20/***************************************************************************
21 xmlcommon.hxx - Common XML functions
22 -------------------
23 begin : Tue Apr 27 2004
24 copyright : (C) 2004 by Intra2net AG
ce6792dd
TJ
25 ***************************************************************************/
26
27#ifndef __XMLCOMMON
28#define __XMLCOMMON
29
30#include <libxml++/libxml++.h>
31#include <string>
32
33namespace I2n {
34
35void xml_validate_dtd(xmlpp::Node *root, const std::string &subsetname, const std::string &dtdname);
36
37std::string xml_get_child_content(xmlpp::Node *base, const std::string &elementname);
38std::string xml_get_text_content(xmlpp::Node *node, const std::string &elementname);
39
40}
41
42#endif