Re: XMLNodes Error

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69074
interpreted = N
texte = Thanks Donovan. I'll give it a look. On 6/14/07 10:46 AM, "Donovan Brooke" wrote: > Clint, I don't see any error handling in Jesse's code. > Have a look on the USPS docs to see what format errors are > returned as. If the XML error return is not in the form: > > > > > Then it appears the following: > > [xmlnodes ref=USPSres&path=named:RateV2Response/Package/] > > May throw the error. > > That is just a guess but I think you are trying to locate > the parent node "Package" when there might not be one. > > Donovan > > P.S. > Here is the way I check for errors (very basic): > [search db=admin/usps_services.db&neUSPS_IDdatarq=find_all] > [founditems] > > [xmlnode ref=xml_var1&path=indexed:1/[index]&var=xml_return][/xmlnode] > > [!] Hide the option if there is an error [/!] > [hideif [url][xmlnodes > ref=xml_return][content][/xmlnodes][/url]^[url]error[/url]] ------------------------------------------------------------- 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: XMLNodes Error ( Clint Davis 2008)
  2. Re: XMLNodes Error ( Clint Davis 2007)
  3. Re: XMLNodes Error ( "Olin Lagon" 2007)
  4. Re: XMLNodes Error ( Clint Davis 2007)
  5. Re: XMLNodes Error ( Donovan Brooke 2007)
  6. Re: XMLNodes Error ( Clint Davis 2007)
  7. Re: XMLNodes Error ( Clint Davis 2007)
  8. Re: XMLNodes Error ( Donovan Brooke 2007)
  9. Re: XMLNodes Error ( Matthew A Perosi 2007)
  10. XMLNodes Error ( Clint Davis 2007)
Thanks Donovan. I'll give it a look. On 6/14/07 10:46 AM, "Donovan Brooke" wrote: > Clint, I don't see any error handling in Jesse's code. > Have a look on the USPS docs to see what format errors are > returned as. If the XML error return is not in the form: > > > > > Then it appears the following: > > [xmlnodes ref=USPSres&path=named:RateV2Response/Package/] > > May throw the error. > > That is just a guess but I think you are trying to locate > the parent node "Package" when there might not be one. > > Donovan > > P.S. > Here is the way I check for errors (very basic): > [search db=admin/usps_services.db&neUSPS_IDdatarq=find_all] > [founditems] > > [xmlnode ref=xml_var1&path=indexed:1/[index]&var=xml_return][/xmlnode] > > [!] Hide the option if there is an error [/!] > [hideif [url][xmlnodes > ref=xml_return][content][/xmlnodes][/url]^[url]error[/url]] ------------------------------------------------------------- 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/ Clint Davis

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:

RE: template security preferences????? (1998) Webcat/Webmerchant (1998) Extracting a Word (2000) Shopping Cart Problem (1998) fix permissions on osx ... (2004) Running _every_ page through WebCat ? (1997) Sorting by date (1997) Fun with dates (1997) WebMerchant 1.6 and SHTML (1997) problem with [include] and Web*/SSL 3.0.1 (1998) HTML editing and webcatalog (2000) WebCatalog and Macromedia Flash (1998) RE: [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019) WebCatalog2 Feature Feedback (1996) Sort Order on a page search (1997) Browser Reloads and AddlineItem (1997) RE: WebCat: Access denied, but why? (1997) WebDNA tags in WebMerchant email templates ... (1997) Ongoing group search problems ... (1997) Missing contexts on NT (1997)