XML help
Monte Goulding
monte at sweattechnologies.com
Thu Dec 20 22:57:33 EST 2012
Did you try dropping the itunes: part of the tag. That's an xml namespace and I think it's ignored normally by revXML. You could also try the revCreateXMLTreeWithNamespaces function.
On 21/12/2012, at 2:36 PM, Gerry Orkin wrote:
> Monte
>
> Many thanks - I didn't use your exact code but it set me off in a good and fruitful direction :)
>
> One other small issue - one of my nodes has a colon in it's name node eg. <itunes:duration:>. I'm guessing that's the reason the following doesn't work:
>
> put revXMLNodeContents(pTree, "channel/"& tRecentPodcast & "/itunes:explicit")
>
> ...whereas this does:
>
> put revXMLNodeContents(pTree, "channel/"& tRecentPodcast &"/pubDate")
>
> Anyone know how to handle nodes with colons in their names?
>
> Cheers
>
> Gerry
>
>
>
>
> On 19/12/2012, at 5:42 PM, Monte Goulding <monte at sweattechnologies.com> wrote:
>
>> Does your list of items have a parent node? Odd if it doesn't.
>>
>> I'm guessing it does so you can do something like this:
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
--
M E R Goulding
Software development services
Bespoke application development for vertical markets
mergExt - There's an external for that!
More information about the use-livecode
mailing list