So I'm using Spry to load an XML file into a Data Set. One of the fields in the data set is an HTML fragment, wrapped in CDATA tags.

When I pull this fragment, and attempt to use it as an innerHTML attribute, I get text:

e.g. when I set myDiv.innerHTML = spryData.getData()[0]["textnode"], instead of getting:

Hello world!

I get:

<b>Hello</b> world!

So what do I do to get my HTML back using javascript?