40 static const std::string filter =
"/message/html[@xmlns='" +
XMLNS_XHTML_IM +
"']";
46 return m_xhtml->
clone();
52 x->m_xhtml = m_xhtml ? m_xhtml->
clone() : 0;
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is an abstraction of an XML element.
const std::string xmlns() const
bool hasChild(const std::string &name, const std::string &attr=EmptyString, const std::string &value=EmptyString) const
const std::string & name() const
This is a wrapper of an XHTML-IM (XEP-0071) message body.
virtual StanzaExtension * clone() const
virtual const std::string & filterString() const
const Tag * xhtml() const
XHtmlIM(const Tag *xhtml=0)
virtual Tag * tag() const
The namespace for the gloox library.
const std::string XMLNS_XHTML_IM