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) I can help! (1996) Where's Cart Created ? (1997) List Server (1999) Emailer Problem (1998) minimalist shopping cart. (1997) NTbeta18 corrupted? (1997) NEW INFO: I'm stuck: Can't open order file.Ignoring[OrderFile] context (2000) Buying sans cart (1997) Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003) truncating email part II (1997) Is setting a basic lineitem in the cart really magic? (2000) Help! WebCatalog not writing dbs to disk (2001) Examples of cross-selling with WebCatalog? (1998) redirect with frames (1997) CMS - Formatting Content (2004) searching multiple databases (1997) Help! WebCat2 bug (1997) GoLive CyberStudio 1.0.1 (1997) [isfile] ? (1997)