This should be an easy one. However, I am not able to find any
reference or forum topic that addresses reformatting the Member values
of the Group object. I need to replace the DN with just the CN. I have
tried the following, using some info from other threads but this code
doesn't affect the XML at all...

<do-for-each>
<arg-node-set>
<token-op-attr name="Member"/>
</arg-node-set>
<arg-actions>
<do-set-local-variable name="member-cn" scope="policy">
<arg-string>
<token-parse-dn length="1" start="-1">
<token-local-variable name="current-node"/>
</token-parse-dn>
</arg-string>
</do-set-local-variable>
<do-strip-xpath disabled="true" expression="/value/text()"/>
<do-append-xml-text disabled="true" expression="/value/text()">
<arg-string>
<token-local-variable name="member-cn"/>
</arg-string>
</do-append-xml-text>
<do-reformat-op-attr name="$current-value$">
<arg-value type="string">
<token-local-variable name="member-cn"/>
</arg-value>
</do-reformat-op-attr>
</arg-actions>
</do-for-each>


--
rhettplace
------------------------------------------------------------------------
rhettplace's Profile: http://forums.novell.com/member.php?userid=63338
View this thread: http://forums.novell.com/showthread.php?t=441100