Reputation: 1
I have a little problem with getting the correct info from my RSS-feed.
This is how the feed looks like.
<description>
<![CDATA[<img height="64" width="64" align="top" src="http://www.festivalfoton.nu/images/festivaler/skogsrojet.jpg" alt="" title="" width="222" height="222" />
<datum>1 - 2 augusti</datum>
<stad>Rejmyre</stad>
<pris>690 kronor</pris>]]>
</description>
I've tried to fetch the info inside the different nodes , and with this command:
[data:row("description/stad")]
But nothing happens and I've learned that it has to do with CDATA.
What can I do? Does anyone have a clue?
Upvotes: 0
Views: 770
Reputation: 38662
CDATA encodes text nodes which you can query using description/text()
. You cannot query the "nodes" inside, as they are none (but only large plain text node).
Possible solutions:
Upvotes: 1