| 456 | } |
| 457 | |
| 458 | xml_node* xml2::getElementById(const char* id) const |
| 459 | { |
| 460 | ACL_XML2_NODE* node = acl_xml2_getElementById(xml_, id); |
| 461 | if (node == NULL) { |
| 462 | return NULL; |
| 463 | } |
| 464 | |
| 465 | xml2_node* n = const_cast<dbuf_guard&>(dbuf_) |
| 466 | .create<xml2_node, xml2*, ACL_XML2_NODE*> |
| 467 | (const_cast<xml2*>(this), node); |
| 468 | return n; |
| 469 | } |
| 470 | |
| 471 | const acl::string& xml2::getText() |
| 472 | { |
no test coverage detected