# Xpath for RSS

**URL:** <https://forum.kirupa.com/t/xpath-for-rss/251464>\
**Category:** Uncategorized\
**Created:** [February 8, 2008, 7:08pm UTC](https://forum.kirupa.com/t/xpath-for-rss/251464 "2008-02-08T19:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhikumar](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Post date:** [February 8, 2008, 7:08pm UTC](https://forum.kirupa.com/t/xpath-for-rss/251464/1 "2008-02-08T19:08:29Z")

</div>

i asked this before but no luck getting an answer… let me try again…

from yahoo RSS: this is how i can read the TITLE attribute using xpath in flash:  
[COLOR=dimgray]var thedesc = XPathAPI.selectNodeList(this.firstChild, “/rss/channel/item/media:text/p/a/img”);[/COLOR]  
[COLOR=dimgray]var thedesc\_display = thedesc[0].attributes[“title”][/COLOR]  
i can read the **TITLE** when it is formatted like this in xml:  
[COLOR=dimgray]\<p\>[/COLOR]  
[COLOR=dimgray]\<a href=“someLINK”\>[/COLOR]  
[COLOR=dimgray]\<img src=“someSRC” align=“left” height=“87” width=“130” alt=“photo” **title=“DESCRIPTION OF THE IMAGE”** border=“0”/\>[/COLOR]  
[COLOR=dimgray]\</a\>[/COLOR]  
[COLOR=dimgray]\</p\>[/COLOR]  
but, in xml they have the special characters. **“\<” is replaced with “\<”** and so on…  
and when \<P\> is replaced with “\<p\>” \*\*i can’t get to the title attribute using \*\*COLOR=#696969[/COLOR]… and thus, can not retrive the TITLE data.

is there anything i can do in my flash code… ??? **PLASE HELP.**
