| 130 | } |
| 131 | |
| 132 | void XmlNode::for_each_attribute(const function<void(const XmlAttribute &)> & fn) const |
| 133 | { |
| 134 | for (xmlAttrPtr attr = mNode->properties; attr; attr = attr->next) |
| 135 | { |
| 136 | fn(XmlAttribute(attr)); |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | bool operator == (const string & s, const unsigned char* c) |