27 if( !
xhtml->hasChild(
"body",
XMLNS,
"http://www.w3.org/1999/xhtml" ) )
30 m_xhtml =
xhtml->clone();
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;
StanzaExtension(int type)
This is an abstraction of an XML element.
const Tag * xhtml() const
virtual StanzaExtension * clone() const
virtual const std::string & filterString() const
XHtmlIM(const Tag *xhtml=0)
virtual Tag * tag() const
The namespace for the gloox library.
const std::string XMLNS_XHTML_IM