I'm trying to read an XML from kuler, but I can't retrieve the values from several tags, and I don't know why.
Particularly this one:
<enclosure xmlns="http://www.solitude.dk/syndication/enclosures/">
<title>yellow</title>
- <link length="1" type="image/png">
<url>http://kuler-api.adobe.com/kuler/themeImages/theme_990712.png</url>
</link>
</enclosure>
For that I have tried
trace(XMLvar.channel.item.enclosure);
trace(XMLvar.channel.item.enclosure[0]);
trace(XMLvar.channel.item.enclosure.text());
trace(XMLvar.channel.item..enclosure);
trace(XMLvar.channel..item..enclosure);
Among others.
I can assure you the route is fine. I can read other values on the same level. I'm checking in Internet Explorer XML 'editor' that they are on the same level. I have checked many times, that is not the problem.
And this is the other one <kuler:themeTitle>:
<kuler:themeItem>
<kuler:themeID>990712</kuler:themeID>
<kuler:themeTitle>yellow</kuler:themeTitle>
[...]
I get an error because of the colon when I try to read the value.
(1084: Syntax error: expecting rightparen before colon)
I'm getting quite frustrated now. There is no documentation about this in adobe.livedocs and tutorials on XML like those of kirupa don't say anything about things like these.