Searched refs:text_elem (Results 1 – 2 of 2) sorted by relevance
289 buzz::XmlElement* text_elem = new buzz::XmlElement(buzz::QN_STANZA_TEXT); in CreateErrorMessage() local290 text_elem->SetAttr(buzz::QN_XML_LANG, "en"); in CreateErrorMessage()291 text_elem->SetBodyText(text); in CreateErrorMessage()292 error->AddElement(text_elem); in CreateErrorMessage()
419 buzz::XmlElement* text_elem = in ToXml() local421 text_elem->SetAttr(QName(kXmlNamespace, "lang"), "en"); in ToXml()422 text_elem->SetBodyText(error_text); in ToXml()423 error->AddElement(text_elem); in ToXml()