|
@@ -12,10 +12,10 @@ Simple XML parser with minimal copying. Designed for high-speed parsing of very
|
12
|
12
|
xml::File f("myfile.xml");
|
13
|
13
|
|
14
|
14
|
while (xml.next()) {
|
15
|
|
- const auto& cur = xml.get();
|
16
|
|
- std::cout << cur.name << std::endl; // .name is the xml tag name
|
17
|
|
- std::cout << cur.level << std::endl; // .level is the tags tree level
|
18
|
|
- std::cout << cur.attrs.size() << std::endl; // .attrs contains the parameters
|
|
15
|
+ const auto& cur = xml.get();
|
|
16
|
+ std::cout << cur.name << std::endl; // .name is the xml tag name
|
|
17
|
+ std::cout << cur.level << std::endl; // .level is the tags tree level
|
|
18
|
+ std::cout << cur.attrs.size() << std::endl; // .attrs contains the parameters
|
19
|
19
|
}
|
20
|
20
|
```
|
21
|
21
|
|