Hi,

I put the content of an operation attribute on a variable nodeset and
need to know at what position is a concrete value, for instance, on this
example, value '15'.

The following is the operation attribute:

<modify-attr attr-name="destAttribute">
<remove-all-values/>
<add-value>
<value>11</value>
<value>05</value>
<value>02</value>
<value>15</value>
<value>06</value>
<value>01</value>
<value>99</value>
</add-value>
</modify-attr>

I set the local variable as a nodeset:

<do-set-local-variable name="lvICTYP" scope="policy">
<arg-node-set>
<token-op-attr name="destAttribute"/>
</arg-node-set>
</do-set-local-variable>

I'd like to find with XPATH at what position is the value '15' without
using a for-each.

Any idea?

Regards
Jose Luis


--
jlrodriguez
------------------------------------------------------------------------
jlrodriguez's Profile: https://forums.netiq.com/member.php?userid=359
View this thread: https://forums.netiq.com/showthread.php?t=57224