# CDATA Problem

**URL:** <https://forum.kirupa.com/t/cdata-problem/163318>\
**Category:** programming\
**Created:** [September 21, 2005, 3:20pm UTC](https://forum.kirupa.com/t/cdata-problem/163318 "2005-09-21T15:20:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chillipeppa](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chillipeppa](https://forum.kirupa.com/u/chillipeppa)\
**Post date:** [September 21, 2005, 3:20pm UTC](https://forum.kirupa.com/t/cdata-problem/163318/1 "2005-09-21T15:20:49Z")

</div>

Hi

A have an enquiry regarding parsing html formatted text from an xml file.

I know how to do this using CDATA when the text is contained within its own node. However in this case the text is an attribute of a node like this:

[left] **\<myNode number=“01” title=“My Node” text=“This is where i want the html formatted text to go.”\>** [/left]

Can anyone help me with this? I really dont want to have to alter the xml structure but will if it is the only way.

Thanks
