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 viewing the initial results -- the "- feed=3D" at the top of the results from here: [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. Tana On 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:

    
  1. Re: [WebDNA] Parsing XML...again... (Tana Adams 2010)
  2. Re: [WebDNA] Parsing XML...again... (Christer Olsson 2010)
  3. Re: [WebDNA] Parsing XML...again... (Tana Adams 2010)
  4. Re: [WebDNA] Parsing XML...again... (Grant Hulbert 2010)
  5. Re: [WebDNA] Parsing XML...again... (Christer Olsson 2010)
  6. [WebDNA] Parsing XML...again... (Tana Adams 2010)
  7. Re: [WebDNA] parsing xml (Donovan Brooke 2010)
  8. [WebDNA] parsing xml (Tana Adams 2010)
Thank you so much, Donovan. Ok so you came up with "feed" as the named path parameter by viewing the initial results -- the "- feed=3D" at the top of the results from here: [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. Tana On 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:

Including encrypted templates ... ? (2003) listfiles-looking for slick solution (1997) WebCat2 several catalogs? (1997) Location of Browser Info.txt file (1997) WebMerchant Setup help (2000) emailer error -108 (1997) Text Variabels Not Passed To Include (2002) Displaying photo attached to first record (1997) Striping Characters (1998) WebCat2 several catalogs? (1997) Re(2): text area input and convertchars (2002) WebCatalog [FoundItems] Problem - LONG - (1997) [LOOKUP] (1997) WebCat2: Items xx to xx shown, etc. (1997) DON'T use old cart file! (1997) Webcatalog, Webstar and Crasharama (1999) Templates on Unix & CGI on Mac? (1997) New Mac Emailer... (1997) Re:quit command on NT (1997) Emailer (1997)