Hi,

I'm new to dirXML and have some problems to handle multi-value
attributs. The content of the multivalue attribute is seperated bei a
':' delimeter (b.E. "abcd:1234"). In my Policy, I try to split the
values and take only the first one. The Policy is inside an eDir_to_eDir
Driver, using IDM 3.6.1.

My problem is, that I don't kwon how to append values, to a local
variable nodeset inside the iteration. The variable returns only the
last iterated value.


Code:
--------------------
<rule>
<description>HANDLE ActeurCategory</description>
<conditions>
<and>
<if-op-attr name="AcmeAllActeurCategoryStr" op="available"/>
</and>
</conditions>
<actions>
<do-for-each>
<arg-node-set>
<token-src-attr name="AcmeAllActeurCategoryStr"/>
</arg-node-set>
<arg-actions>
<do-set-local-variable name="LV_TMP_ActCat" scope="policy">
<arg-string>
<token-local-variable name="current-node"/>
</arg-string>
</do-set-local-variable>
<do-set-local-variable name="LV_TMP_RES_ActCat" scope="policy">
<arg-node-set>
<token-xpath expression="es:getSubValue($LV_TMP_ActCat,0,':')"/>
</arg-node-set>
</do-set-local-variable>
</arg-actions>
</do-for-each>
<do-set-dest-attr-value class-name="User" name="AcmeEduPersonActCat">
<arg-value type="string">
<token-local-variable name="LV_TMP_RES_ActCat"/>
</arg-value>
</do-set-dest-attr-value>
</actions>
</rule>
--------------------


Any Suggestions would be appreciated!

Thanks

Zisis


--
charakopidis
------------------------------------------------------------------------
charakopidis's Profile: http://forums.novell.com/member.php?userid=73742
View this thread: http://forums.novell.com/showthread.php?t=442008