| 199 | } |
| 200 | |
| 201 | xml_node* xml2_node::next_child() |
| 202 | { |
| 203 | acl_assert(child_iter_); |
| 204 | |
| 205 | ACL_XML2_NODE* node = node_->iter_next(child_iter_, node_); |
| 206 | if (node == NULL) { |
| 207 | return NULL; |
| 208 | } |
| 209 | |
| 210 | xml2_node* n = NEW xml2_node(xml_, node); |
| 211 | nodes_tmp_.push_back(n); |
| 212 | |
| 213 | return n; |
| 214 | } |
| 215 | |
| 216 | int xml2_node::depth() const |
| 217 | { |
no test coverage detected