iŽd like to compare a value with a list of values from a variable (see
var2, where the notation is like regex) and set a local-var to 1 if
match is found, else to 0.
what i do not know how to compare one value regex-wise. i can make for
each value a policy, but is there a more elegant way?

<do-set-local-variable name="var2" scope="policy">
<token-text xml:space="preserve">154|155|157|175|330|530|719|7 45</token-text>

this one should kind of loop through the values of var2 and find (if
there) var1
<if-xpath op="true">contains($var1,$var2)</if-xpath>

thanks in advance, florian

florianz's Profile: http://forums.novell.com/member.php?userid=210
View this thread: http://forums.novell.com/showthread.php?t=381502