C
Chris
Wondering if anyone can help me...
I have a text node that has been HTML encoded. The text is has CDATA
tags around it. The problem is I can't seem to decode the text. When
the CDATA is gone, I can decode it fine. When it's not HTML encoded,
then obviously I won't have to decode it. But when it's encoded and has
CDATA tags I can't seem to do anything with it! I can't change the XML
so can anyone think of a way I can work with this text to decode it
properly? Basically, I need to un-CDATA the text before I can apply the
decode template.
Thanks so much!
I have a text node that has been HTML encoded. The text is has CDATA
tags around it. The problem is I can't seem to decode the text. When
the CDATA is gone, I can decode it fine. When it's not HTML encoded,
then obviously I won't have to decode it. But when it's encoded and has
CDATA tags I can't seem to do anything with it! I can't change the XML
so can anyone think of a way I can work with this text to decode it
properly? Basically, I need to un-CDATA the text before I can apply the
decode template.
Thanks so much!