Dear Novell Support,


I need to replace a multivalue attribute(mwnTUMPlattformListe)(holding a
string) with another string value.


However generating a remove-value event, and then an add value event is
not desired which happens when I use reformat operational attribute.


2. I then tried setting current-node, but then there was an error
Can't set read-only variable:
'current-node'.<application>DirXML</application>


Is there a way out to replace a value without removing it first.

<do-for-each>
<arg-node-set>
<token-dest-attr class-name="User" name="mwnTUMPlattformListe"/>
</arg-node-set>
<arg-actions>

<do-if>
<arg-conditions>
<and> <if-local-variable mode="regex" name="current-node"
op="equal">^ABC;.+gesperrt;.+</if-local-variable> </and>
</arg-conditions>
<arg-actions> <do-if> <arg-conditions> <and>
<if-local-variable mode="nocase" name="vpnStatus"
op="equal">aktiv</if-local-variable> <if-local-variable
mode="nocase" name="mailboxStatus" op="equal">aktiv</if-local-variable>
<if-op-attr mode="nocase" name="mwnTUMMessageStore"
op="not-equal">abc.ads.mwn.de</if-op-attr>
</and>
</arg-conditions>
<arg-actions>
<do-set-local-variable name="reformat_Plattform" scope="policy">
<arg-string>
<token-local-variable name="current-node"/>
</arg-string>
</do-set-local-variable>
<do-set-local-variable name="current-node" scope="policy">
<arg-string>
<token-xpath
expression="CSVString:replaceElement($current-node,11,'aktiv')"/>
</arg-string>
</do-set-local-variable>
</arg-actions>
<arg-actions/>
</do-if>
</arg-actions>
<arg-actions/>
</do-if>


</arg-actions>
</do-for-each>


Any suggestions will be welcomed.


--
Sadhna Goyal

Leibniz Rechen Zentrum
Raum LRZ I.1.107
E-Mail: goyal@lrz.de
Phone: +49 89 35831 8880
Fax: +49 89 35831 8680
85748 Garching b. München
Germany