| 51 | return emptyString; |
| 52 | } |
| 53 | vector<std::string> Node::getAttributeKeys() const |
| 54 | { |
| 55 | vector<std::string> keys; |
| 56 | map<string, string>::const_iterator it; |
| 57 | |
| 58 | for (it = mAttributes.begin(); it != mAttributes.end(); ++it) { |
| 59 | keys.push_back(it->first); |
| 60 | } |
| 61 | return keys; |
| 62 | } |
| 63 | void Node::setText(const string &text) |
| 64 | { |
| 65 | mText = text; |