I have an XHTML-IM block in a string, and I'd like to send it over a
MessageSession. Does gloox provide any mechanism for converting a
string into an XHtmlIM? It seems like I have to parse it into a Tag
with a ParserHandler, and that seems a lot of complexity just to turn
around and make it a string again. Am I missing basic functionality
here?
This gets particularly complex because my original data is an
NSAttributedString (Objective-C). The number of complex transforms
required is getting a bit out out of hand just to allow some bold and
italic text :D