# XML Problem, seems easy and Urgent

**URL:** <https://forum.kirupa.com/t/xml-problem-seems-easy-and-urgent/193047>\
**Category:** flash\
**Created:** [July 3, 2006, 10:46pm UTC](https://forum.kirupa.com/t/xml-problem-seems-easy-and-urgent/193047 "2006-07-03T22:46:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tolgainam](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Post date:** [July 3, 2006, 10:46pm UTC](https://forum.kirupa.com/t/xml-problem-seems-easy-and-urgent/193047/1 "2006-07-03T22:46:17Z")

</div>

Hello,  
Im getting XML data, which I can not modify the structure of it, from a website and print it with the fallowing code:

```auto

function fnGetFM() {
 var iSpacing = 22;
 var iFm = 0;
 var iFmtotal = fm_data.firstChild.childNodes.length;
 for (i=0; i<iFmtotal; i++) {
  var oFm = mc_stage.mc_about.mc_fm.attachMovie("type3", "fm"+iFm, iFm);
  var sFmartist = fm_data.firstChild.childNodes*.childNodes[0];
  var sFmname = fm_data.firstChild.childNodes*.childNodes[1];
  var sFmdate = fm_data.firstChild.childNodes*.childNodes[4];
  oFm.type3artist.text = sFmartist;
  oFm.type3song.text = sFmname;
  oFm.type3date.text = sFmdate;
  oFm._x = 0;
  oFm._y = iFm*iSpacing;
  iFm++;
 }
}

```

The Problem is when I Print the data, they come insde the XML tags. Like:  
[COLOR=#0000ff]\<[/COLOR][COLOR=#990000]name[/COLOR][COLOR=#0000ff]\>[/COLOR] **Everything Will Be Alright** [COLOR=#0000ff]\</[/COLOR][COLOR=#990000]name[/COLOR][COLOR=#0000ff]\>[/COLOR] for the name field.  
I want to get rid of the tags, how can I do that ?  
Thanks
