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:

Help needed! (1998) [WebDNA] can webdna set the email header (w/[sendmail]) that controls where bounced email goes? (2012) Help! (2000) Not really WebCat (1997) Progress !! WAS: Trouble with formula.db (1997) Web requests in que... (2007) [HIDEIF] inside [FOUNDITEM] (1997) Nested tags count question (1997) [WebDNA] Formatting numbers - truncation instead of rounding (2011) Weird Cookie Problem Part 2 (2007) WebCat2b12 CGI Mac - [shownext] problem (1997) [WebDNA] File Include HTM (2008) No luck with taxes (1997) Protecting Files (2005) Time to opensource? (2006) [WebDNA] New request for websites that currently run WebDNA (2009) Secure server question (1997) Re:no [search] with NT (1997) NT considerations (1997) WebCat2b13 Command Reference Doc error (1997)