Hi Dan,

I couldn't find anything after a quick browse of the documentation - but I
know that for myself, IF Actions and ElseIF Actions do not require an ending
Else Action in your TAFs. The reasons why you may want to use the ending
Else Action depends entirely on your application and the logic you
incorporate. If all the bases are covered - then don't worry about the
ending Else Action.

Metatag <@IF> Statements on the other hand have different rules.

The following can be used by itself, without an ending </@IF>

<@IF EXPR="@@local$Test = 1" TRUE="yes" FALSE="no">

But most every other form of the <@IF> Metatags require the ending </@IF>

<@IF EXPR="@@local$Test = 1">
Yes
<@ELSE>
No
</@IF>

Forgetting the end </@IF> in a statement like the above, can cause the type
of error where hoards of Metatags will suddenly show up in your browser
output.

Hope this helps. Cheers....

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

VP, Research and Development
Plus International Corp.
604-460-1843
[EMAIL PROTECTED]
http://www.plusinternational.com

Vancouver, BC, Canada

Does your company have an Enterprise Information Portal? Check out Salsa at
www.plusinternational.com/flash/salsa.htm

----- Original Message -----
From: "Dan Stein" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 6:35 AM
Subject: Witango-Talk: Really stupid question


> Here is one someone pointed out to me I need to check with the list.
>
> I often leave the Else statement out at the end of a Taf I guess my logic
> has been I have all the basis covered within the taf. Since there is no
end
> If in the editor I figured it is putting them in the XML it writes. Do I
> need to end all the If. ElseIf's with Else in order to have an End If.
>
> If so what do folks usually put as results in there?
>
> Dan
>
>
> --
> Dan Stein
> Digital Software Solutions
> 799 Evergreen Circle
> Telford PA 18969
> 215-799-0192
> 610-256-2843
> Fax 413-410-9682
> FMP,Tango, EDI,SQL 7
> [EMAIL PROTECTED]
> www.dss-db.com
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to