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>

[382 byte] By [higgledy21701] at [2007-11-26 9:24:53]
# 1

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"

danareed at 2007-7-7 0:00:52 > top of Java-index,Web & Directory Servers,Directory Servers...