Hello,,,I am running a slightly modified version of Lothar driver for
several years and want to make another modification I cannot figure
out.

In the "reformat notifications" policy that runs after building the
notification from the ldap query,,,I am need to now build my list with
multi-value attributes so I can do some more checking several policies
later.

so for instance the statement:
<do-for-each>
<arg-node-set>
<token-xpath
expression='*/instance[attr/@attr-name="eduPersonAffiliation"]'/>
</arg-node-set>
<arg-actions>
<do-append-xml-element expression="$current-node"
name="Affiliation"/>
<do-append-xml-text expression="$current-node/Affiliation">
<arg-string>
<token-xpath
expression="$current-node/attr[@attr-name='eduPersonAffiliation']/value"/>
</arg-string>
</do-append-xml-text>
</arg-actions>
</do-for-each>

will only build the notification list with the first value of this
multivalue-attribute. I have tried every bit of xpath i know(which aint
much) to put another loop in here to grab all the values of the
attribute and put in the notification list.

if someone can take pity and throw me a bone, i would appreciate it!


--
jeff@linux1:~> glxgears
120308 frames in 5.0 seconds = 24061.553 FPS
------------------------------------------------------------------------
jedijeff's Profile: http://forums.novell.com/member.php?userid=4732
View this thread: http://forums.novell.com/showthread.php?t=405784