Re: XMLparse odd behaviour

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57169
interpreted = N
texte = Hi Tim, You need to [URL] the 'source' parameter so that any '&' in the query = portion of the URL is not interpreted as a WebDNA parameter delimiter. Like this: [xmlparse = var=3Dxml_var1&source=3D[url]http://xoap.weather.com/weather/local/ASXX01= 12?cc=3D*&dayf=3D2[/url]][/xmlparse] -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Tim Robinson Sent: Monday, March 29, 2004 6:19 PM To: WebDNA Talk Subject: XMLparse odd behaviour Hi all, If you enter this in your browser: http://xoap.weather.com/weather/local/ASXX0112?cc=3D*&dayf=3D2 it shows four primary nodes: head, loc, cc, and dayf. But when I use the WebDNA code below it only shows three. [xmlparse=20 var=3Dxml_var1&source=3Dhttp://xoap.weather.com/weather/local/ASXX0112?cc= =3D*&dayf =3D2][/xmlparse] [xmlnodes ref=3Dxml_var1&path=3Dnamed:weather] [index], [name], [value]
[/xmlnodes] Scott, is there a limit that you know of? If I change round the cc and dayf variables, then it shows dayf but not = cc. So I have a workaround of using two [xmlparse] contexts to source all = the data. It does it OK, but considering it's in a loop of multiple records, = it would be better with only one. Thanks, Tim ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to = Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: XMLparse odd behaviour ( Tim Robinson 2004)
  2. Re: XMLparse odd behaviour ( "Scott Anderson" 2004)
  3. XMLparse odd behaviour ( Tim Robinson 2004)
Hi Tim, You need to [url] the 'source' parameter so that any '&' in the query = portion of the URL is not interpreted as a WebDNA parameter delimiter. Like this: [xmlparse = var=3Dxml_var1&source=3D[url]http://xoap.weather.com/weather/local/ASXX01= 12?cc=3D*&dayf=3D2[/url]][/xmlparse] -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Tim Robinson Sent: Monday, March 29, 2004 6:19 PM To: WebDNA Talk Subject: XMLparse odd behaviour Hi all, If you enter this in your browser: http://xoap.weather.com/weather/local/ASXX0112?cc=3D*&dayf=3D2 it shows four primary nodes: head, loc, cc, and dayf. But when I use the WebDNA code below it only shows three. [xmlparse=20 var=3Dxml_var1&source=3Dhttp://xoap.weather.com/weather/local/ASXX0112?cc= =3D*&dayf =3D2][/xmlparse] [xmlnodes ref=3Dxml_var1&path=3Dnamed:weather] [index], [name], [value]
[/xmlnodes] Scott, is there a limit that you know of? If I change round the cc and dayf variables, then it shows dayf but not = cc. So I have a workaround of using two [xmlparse] contexts to source all = the data. It does it OK, but considering it's in a loop of multiple records, = it would be better with only one. Thanks, Tim ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to = Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Scott Anderson"

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:

Encrypted items in DB (2001) OT - robots.txt (2003) Re:Searching for ALL / empty form field (1997) Anyone using unix? Having problems... (2000) pop up building with summarize (1998) founditem align (1998) WebCat2 several catalogs? (1997) [ShowIf] and empty fields (1997) Resume Catalog ? (1997) Cancel Subscription (1996) Single Link browsing (1997) Sorting Numbers (1997) Verisign is at it again (2003) RE: New WebCatalog Version !!! (1997) Email (1998) include (1998) [math] storage of variables (1997) WC1.6 to WC2 date formatting (1997) [WebDNA] Happy New Year - Good Ol' Talk List (2013) Error 11 (1996)