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:

Bug? (1997) WC Bulletin Board Issue (2003) Running _every_ page through WebCat ? (1997) Re:Emailer and encryption (1997) Looking for a Manual (1997) Problems with large number of items in a cart. (1998) [format xs] freeze (1997) reverse loops (1998) Multiple cart additions (1997) [WriteFile] problems (1997) Searchable WebCat (etc.) Docs ? (1997) OT: bulletin board spell check (2001) Is there an easier way? (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) OT: Reverse WHOIS (2003) WebCat2 - [format thousands] (1997) sendmail spaces (1997) Removing [showif] makes a big difference in speed (1997) search engine friendly URLS (Mac) (1998) Convert words (2002)