case statement with multiple values?
Can XPress handle the first case statement below? If so, how?
<switch>
<ref>variable</ref>
<case>
<s>this</s>
<s>that</s>
<s>other</s>
do something
</case>
<case>
<s>things>
do something
</case>
</switch>
Can XPress handle the first case statement below? If so, how?
<switch>
<ref>variable</ref>
<case>
<s>this</s>
<s>that</s>
<s>other</s>
do something
</case>
<case>
<s>things>
do something
</case>
</switch>
i dont think xpress can handle it..but i can show you a work around that will work.
<switch>
<ref>value</ref>
<case >
<invoke name='get'>
<map>
<s>val a</s>
<s>val a</s>
<s>val b</s>
<s>val b</s>
</map>
<ref>value</ref>
</invoke>
</case>
this will work. i do it all the time
Dana Reed
AegisUSA
Denver, Co
dana.reed@aegisusa.net
"We are the identity company"