# Parsing xml data with colons in it

**URL:** <https://forum.kirupa.com/t/parsing-xml-data-with-colons-in-it/286105>\
**Category:** Uncategorized\
**Created:** [April 10, 2009, 2:12am UTC](https://forum.kirupa.com/t/parsing-xml-data-with-colons-in-it/286105 "2009-04-10T02:12:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkerthoughts](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@darkerthoughts](https://forum.kirupa.com/u/darkerthoughts)\
**Post date:** [April 10, 2009, 2:12am UTC](https://forum.kirupa.com/t/parsing-xml-data-with-colons-in-it/286105/1 "2009-04-10T02:12:02Z")

</div>

Hi all, I’m creating a frontend for a podcasting website. It will basically run from an xml feed produced by podpress. This isn’t particularly important.

My question is, how do I import xml entries with colons “:” in them. For example the line highlighted below.

```auto

    <item>
      <title>podcast1</title>
      <pubDate>Thu, 09 Apr 2009 21:47:35 +0000</pubDate>
      <dc:creator>admin</dc:creator>
      <category><![CDATA[Uncategorized]]></category>
      [COLOR="Red"]<itunes:duration>0:03</itunes:duration>[/COLOR]
      <itunes:subtitle>content</itunes:subtitle>
      <itunes:summary>content</itunes:summary>
      <itunes:keywords>Uncategorized</itunes:keywords>
      <itunes:author>qweqw@dasdasd.com</itunes:author>
      <itunes:explicit>no</itunes:explicit>
      <itunes:block>No</itunes:block>
    </item>

```

This is the basic code I’m using to import the regular xml lines (it was taken from a kirupa tutorial and works fine).

```auto

var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
 
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
 
xmlLoader.load(new URLRequest("ADDRESS"));

function LoadXML(e:Event):void {
   xmlData = new XML(e.target.data);
   ParseBooks(xmlData);
}
  
function ParseBooks(bookInput:XML):void {
   trace("XML Output");
   trace("------------------------");

   trace(bookInput.channel.item.title);
}

```

So… for example… how do I get the line “\<itunes:subtitle\>content\</itunes:subtitle\>” when “itunes:subtitle” isn’t being recognised?

Many thanks in advance!
