[Kde-games-devel] Parsing and translating XML game-data

Jaison Lee lee.jaison at gmail.com
Sat Dec 2 16:59:28 CET 2006


> > <Hint>Do <b>not</b> go up the right hand ladder.</Hint>

> Why don't you just escape the special characters '<' and '>', so the rich
> text formatting tags no longer look like XML tags?
> So, your example would look like that:
> <Hint>Do &lt;b&gt;not&lt;/b&gt; go up the right hand ladder.</Hint>

As an alternative, a CDATA section can also be used to embed markup in
an XML document. See QDomDocument::createCDATASection().


More information about the kde-games-devel mailing list