Another XML Questgion

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33510
interpreted = N
texte = The IF statement is a little confusing on how to convert to XML.Here is the example you have in your reference guide for the standard code: [If (([username]=Grant) | ([grandTotal]<100)) & ({[date]}<{2/15/2000})] [Then]either username was Grant or grandTotal was < $100 and it's not Feb 15, 2000 yet[/Then] [Else]The complex expression wasn't true[/Else] [/If]My guess on converting the first line to XML would be:/=/Grant/) | {<100)) & ({}<{(2/15/2000/)> or '='Grant') | {<100)) & ({}<{(2/15/2000/)>What is the correct way of handling this code?Jason Sanborn jsanborn@digitalstylus.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Another XML Questgion (WebDNA Support 2000)
  2. Re: Another XML Questgion (Jason Sanborn 2000)
  3. Another XML Questgion (Jason Sanborn 2000)
The IF statement is a little confusing on how to convert to XML.Here is the example you have in your reference guide for the standard code: [If (([username]=Grant) | ([grandTotal]<100)) & ({[date]}<{2/15/2000})] [Then]either username was Grant or grandTotal was < $100 and it's not Feb 15, 2000 yet[/Then] [Else]The complex expression wasn't true[/Else] [/If]My guess on converting the first line to XML would be:/=/Grant/) | {<100)) & ({}<{(2/15/2000/)> or '='Grant') | {<100)) & ({}<{(2/15/2000/)>What is the correct way of handling this code?Jason Sanborn jsanborn@digitalstylus.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://search.smithmicro.com/ Jason Sanborn

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:

WCS Newbie question (1997) WC2f3 (1997) Location of Browser Info.txt file (1997) Re:WebCat Emailer & Liststar (1997) Hummm .... (2002) Me know logical no need (2002) Credit Card Checksum (1997) Max Record length (1997) [TaxableTotal] - not working with AOL and IE (1997) Emailer program? (2000) SSL with IIS 4.0 (1998) input problem (1999) Database field limit? (1998) Locking up with WebCatalog... (1997) More on the email templates (1997) elmer fudd (2004) Mac 2.1b2 speed (1997) WebCat2: Items xx to xx shown, etc. (1997) Calculating multiple shipping... (1997) WebMerchant and MacAuthorize Errors (1998)