Lines Matching refs:attrs
40 vector<XMLAttribute>& attrs = node->EditAttributes();
41 const size_t I = attrs.size();
43 XMLAttribute attr = attrs[i];
46 attrs.erase(attrs.begin()+i);
47 attrs.push_back(attr);
85 vector<XMLAttribute> attrs;
89 attrs.push_back(XMLAttribute("", "name", name));
90 attrs.push_back(XMLAttribute("", "desc", strip_newlines(res.comment)));
91 attrs.push_back(XMLAttribute(XMLNS_XMLNS, "space", "preserve"));
92 XMLNode* msg = XMLNode::NewElement(res.pos, "", "msg", attrs, XMLNode::EXACT);
149 vector<XMLAttribute> attrs;
150 attrs.push_back(XMLAttribute("", "locale", "en"));
152 attrs, XMLNode::PRETTY);