| 719 | } |
| 720 | |
| 721 | XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns, |
| 722 | const String16& name) |
| 723 | { |
| 724 | for (size_t i=0; i<mAttributes.size(); i++) { |
| 725 | attribute_entry * ae = &mAttributes.editItemAt(i); |
| 726 | if (ae->ns == ns && ae->name == name) { |
| 727 | return ae; |
| 728 | } |
| 729 | } |
| 730 | |
| 731 | return NULL; |
| 732 | } |
| 733 | |
| 734 | const String16& XMLNode::getCData() const |
| 735 | { |
no test coverage detected