| 4656 | } |
| 4657 | |
| 4658 | PUGI__FN xml_attribute xml_node::append_attribute(const char_t* name_) |
| 4659 | { |
| 4660 | if (type() != node_element && type() != node_declaration) |
| 4661 | return xml_attribute(); |
| 4662 | |
| 4663 | xml_attribute a(impl::append_attribute_ll(_root, impl::get_allocator(_root))); |
| 4664 | a.set_name(name_); |
| 4665 | |
| 4666 | return a; |
| 4667 | } |
| 4668 | |
| 4669 | PUGI__FN xml_attribute xml_node::prepend_attribute(const char_t* name_) |
| 4670 | { |