| 38 | } |
| 39 | |
| 40 | void Element::addAttribute(const std::string& name, const std::string& value) { |
| 41 | attributes.insert(std::make_pair(name, value)); |
| 42 | } |
| 43 | |
| 44 | std::string Element::getAttribute(const std::string& name) { |
| 45 | return attributes[name]; |
no outgoing calls