cpp-ElementTree
Python ElementTree-alike XML API for C++
Main Page
Namespaces
Classes
Files
File List
test_consts.hpp
1
2
static
auto
DOC = (
3
"<who xmlns:ns=\"urn:ns\" type=\"people\" count=\"1\" ns:x=\"true\">"
4
"<person type=\"human\">"
5
"<name ns:attrx=\"3\">David</name>"
6
"<ns:attr1>123</ns:attr1>"
7
"<ns:attr2>123</ns:attr2>"
8
"</person>"
9
"</who>"
10
);
11
12
static
auto
NS_DOC = (
13
"<ns:who xmlns:ns='urn:ns'>"
14
"<ns:person ns:type='human'><name>David</name></ns:person>"
15
"</ns:who>"
16
);
17
18
#define OUT(x) std::cout << x << std::endl;
19
#define TOSTRING(x) OUT(etree::tostring(x))
Generated by
1.8.11