Re: [WebDNA] Re: parsing xml
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105105
interpreted = N
texte = Thank you so much, Donovan.Ok so you came up with "feed" as the named path parameter by viewingthe initial results -- the "- feed=3D" at the top of the results fromhere:[xmlparse var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/v=ideos/-/volleyball[/url]][/xmlparse][xmlnode ref=3Dxml_var1][name]=3D[value] [xmlnodes] - [name]=3D[value]
[/xmlnodes][/xmlnode]Then you embedded another [xmlnodes] context within the [xmlnode]context and named the path parameter accordingly.I think I'm getting it...slowly but surely. ;)Thanks again...most appreciated.TanaOn Wed, Mar 24, 2010 at 11:23 AM, Donovan Brooke
wrote:> Tana Adams wrote:>>>> Thanks, guys. =A0So here's what happens...>>>> When I use this:>>>> [xmlparse>> var=3Dxml_var1&source=3Dhttp://gdata.youtube.com/feeds/api/videos/-/voll=eyball][/xmlparse]>> [xmlnode ref=3Dxml_var1]>> [name]=3D[value]>> [/xmlnode]>>>> I get this:>>>> #document=3D>>> Well, your on your way to learning how to parse an XML feed!>> You just need to read a bit more about xmlnodes/xmlnode.>> Here is a hint:> [xmlparse> var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/videos/-/=volleyball[/url]][/xmlparse]> [xmlnode ref=3Dxml_var1&path=3Dnamed:feed]> [name]=3D[value]
> =A0[xmlnodes]> - [name]=3D[value]
> =A0 [xmlnodes]> - [name]=3D[value]
> =A0 [/xmlnodes]> =A0[/xmlnodes]> [/xmlnode]>>> Donovan>>>> --> Donovan Brooke> Euca Design Center> [Practical-Ethical-Efficient]> www.euca.us> egg.bz> artglass-forum.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category==3D288>
Associated Messages, from the most recent to the oldest:
Thank you so much, Donovan.Ok so you came up with "feed" as the named path parameter by viewingthe initial results -- the "- feed=3D" at the top of the results fromhere:[xmlparse var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/v=ideos/-/volleyball[/url]][/xmlparse][xmlnode ref=3Dxml_var1][name]=3D[value] [xmlnodes] - [name]=3D[value]
[/xmlnodes][/xmlnode]Then you embedded another [xmlnodes] context within the [xmlnode]context and named the path parameter accordingly.I think I'm getting it...slowly but surely. ;)Thanks again...most appreciated.TanaOn Wed, Mar 24, 2010 at 11:23 AM, Donovan Brooke wrote:> Tana Adams wrote:>>>> Thanks, guys. =A0So here's what happens...>>>> When I use this:>>>> [xmlparse>> var=3Dxml_var1&source=3Dhttp://gdata.youtube.com/feeds/api/videos/-/voll=eyball][/xmlparse]>> [xmlnode ref=3Dxml_var1]>> [name]=3D[value]>> [/xmlnode]>>>> I get this:>>>> #document=3D>>> Well, your on your way to learning how to parse an XML feed!>> You just need to read a bit more about xmlnodes/xmlnode.>> Here is a hint:> [xmlparse> var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/videos/-/=volleyball[/url]][/xmlparse]> [xmlnode ref=3Dxml_var1&path=3Dnamed:feed]> [name]=3D[value]
> =A0[xmlnodes]> - [name]=3D[value]
> =A0 [xmlnodes]> - [name]=3D[value]
> =A0 [/xmlnodes]> =A0[/xmlnodes]> [/xmlnode]>>> Donovan>>>> --> Donovan Brooke> Euca Design Center> [Practical-Ethical-Efficient]> www.euca.us> egg.bz> artglass-forum.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category==3D288>
Tana Adams
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
GrandTotal not right (1997)
Who needs Yoda! (2002)
the dreaded unitShipCost (2003)
Online reference (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
I'm having trouble using [url][interpret][math] together inlookup (1997)
Security for malls with different webmasters (1998)
[WebDNA] 301 redirect on linux (2010)
DataBaseHelper Flawed (1997)
Order not created error (1997)
[ShowNext] (1997)
[convertChars] and in a textarea on a form (1998)
4.0 Plugin under Webten (2000)
[WebDNA] No more SQL in 7.1? (2012)
Emailed problem (2000)
Signal Raised (1997)
Double Spacing in Mails from Sendmail (2002)
emailer (1997)
1 cent answer? (1998)
Security Tip (1996)