# XML: \<!\[CDATA\[ \>still not showing \]\]\>

**URL:** <https://forum.kirupa.com/t/xml-cdata-still-not-showing/150982>\
**Category:** Uncategorized\
**Created:** [June 12, 2005, 11:14am UTC](https://forum.kirupa.com/t/xml-cdata-still-not-showing/150982 "2005-06-12T11:14:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerryj](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jerryj](https://forum.kirupa.com/u/jerryj)\
**Post date:** [June 12, 2005, 11:14am UTC](https://forum.kirupa.com/t/xml-cdata-still-not-showing/150982/1 "2005-06-12T11:14:08Z")

</div>

Hi,  
I have a beginner’s XML question. I use this XML code:

```auto
<news>
<kop1><![CDATA[Concert Kasabian afgelast >>>]]></kop1>
</news>

```

I was being told that using \<![CDATA[]]\> would allow me to type anything in between, even the ‘\>’ symbol. But helais, I still get to see ‘\>’ when I publish.

My as:[AS]  
var my\_xml = new XML();  
my\_xml.ignoreWhite = true;  
my\_xml.onLoad = function(ok) {  
if (ok) {  
var field = NK1MC.NK1;  
field.multiline = true;  
field.wordWrap = true;  
field.autoSize = true;  
field.selectable = false;  
field.text = this.firstChild.childNodes[0].firstChild;  
field.setTextFormat(NK1fmt);

```
	}
};
my_xml.load(txt);[/AS]

```

(by the way, how should I wrap XML code on this forum?)

Could someone explain to me why the CDATA code doesn’t work for me?

thank you,

Jerryj.
