Hi everybody,

I have recently been enjoying myself with structured GCVs. And I must say,
that it is absolutely a nice experience, bordering to being better than
coffee in the morning.

Anyway, now in my latest attempt at greatness, I wanted to have a list in
one of my strctured gcvs, so I can loop over the list (inside all the
other looping).

My issue is, that I cannot figure out how to address the list items, and
get them into a nodeset.

An instance looks like this:
<instance>
<definition display-name="Description" name="description" type="string">
<description/>
<value>Deactivated Users</value>
</definition>
<definition display-name="Object Class" name="objclass" type="string">
<description/>
<value>User</value>
</definition>
<definition display-name="Default Owner" dn-space="dirxml" dn-
type="slash" name="defaultowner" type="dn">
<description/>
<value></value>
</definition>
<definition display-name="Deactivation OU" dn-space="dirxml" dn-
type="slash" name="deactivationou" type="dn">
<description/>
<value>mfk\disabledusers</value>
</definition>
<definition display-name="References to Remove" name="references"
type="list">
<description/>
<value>
<item>owner</item>
<item>manager</item>
<item>assistant</item>
</value>
</definition>
</instance>

I want to get the items in "references" into a node set.

I have tried this, amongst a lot of other stuff (this is somewhat pseudo-
code, it would bloat the post if I posted the entire rule)

<do-for-each>
<arg-node-set>
<token-global-variable name="drv.refdeactivation"/>
</arg-node-set>
<arg-actions>
<do-set-local-variable name="lRefs" scope="policy">
<arg-node-set>
<token-split delimiter=";">
<token-xpath expression='$current-node/definition[@name="references"]/
value/item/text()'/>
</token-split>
</arg-node-set>
</do-set-local-variable>
</arg-actions>
</do-for-each>

So the question is, how do I get the list items into a node set? I cannot
figure out how to address it.