hi,

I've got a problem where i'm trying to extract values from a multi
value attribute result. the query result is below.

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="Organizational Unit" event-id="0"
qualified-src-dn="O=Org\OU=Groups\CN=DPI-FSV-ADS3"
src-dn="\LDAP\Org\Groups\DPI-FSV-ADS3" src-entry-id="69257">
<association
state="associated">{22DF0240-CE80-9147-9991-9D21EEECD644}</association>
<attr attr-name="CN">
<value timestamp="1217566744#9"
type="string">DPI-FSV-ADS</value>
<value naming="true" timestamp="1217917247#2"
type="string">DPI-FSV-ADS3</value>
</attr>
</instance>
<status event-id="0" level="success"></status>
</output>
</nds>

I have tried the following policy but its only grabbing the one value

do-for-each>
<arg-node-set>
<token-local-variable name="lvrResults"/>
</arg-node-set>
<arg-actions>
<do-set-local-variable name="CONCAT_CN">
<arg-string>
<token-local-variable
name="CONCAT_CN"/>
<token-text
xml:space="preserve">, </token-text>
<token-local-variable
name="current-node"/>
</arg-string>
</do-set-local-variable>
</arg-actions>
</do-for-each>

does anyone have any ideas?


--
wadafud
------------------------------------------------------------------------
wadafud's Profile: http://forums.novell.com/member.php?userid=11852
View this thread: http://forums.novell.com/showthread.php?t=338927