I need to read a specific association value from another object in a
policy. I get the DirXML-Associations attribute in a local variable in a
policy. Now I need to get out the specific association from that value.



The local variable:

I want to get the {8025BB06-C978-dc01-80B6-000000000000} value from the
\XXXX-IDMDIR\XXXX\System\DRIVERSET\YYYYYY driver with the nameSpace = 1.

I've tried to use Xpath but I'm just not good enough, any ideas?
Thanks.


<nds dtdversion="3.0" ndsversion="8.x">
<source>
<product version="3.0.0.20051118 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="USER"
qualified-src-dn="O=XXXX\OU=XXXX\CN=621110-6015"
src-dn="\XXXX-IDMDIR\XXXX\XXXX\123456789" src-entry-id="35859">
<association
state="associated">{8025BB06-C978-dc01-80B6-000000000000}</association>
<attr attr-name="DirXML-Associations">
<value timestamp="1192196571#22" type="structured">
<component name="nameSpace">1</component>
<component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\DRIVER1</component>
<component name="path">621110-6015</component>
</value>
<value timestamp="1192197462#63" type="structured">
<component name="nameSpace">2</component>
<component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\XXXX</component>
<component name="path"/>
</value>
<value timestamp="1192196571#74" type="structured">
<component name="nameSpace">2</component>
<component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\DRIVER2</component>
<component name="path"/>
</value>
<value timestamp="1192196571#84" type="structured">
<component name="nameSpace">2</component>
<component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\DRIVER4</component>
<component name="path"/>
</value>
<value timestamp="1192196571#105" type="structured">
<component name="nameSpace">1</component>
15:57:43 61101BB0 Drvrs: <component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\XXXX-XXXXX</component>
<component
name="path">{8025BB06-C978-dc01-80B6-000000000000}</component>
</value>
<value timestamp="1192196582#199" type="structured">
<component name="nameSpace">1</component>
<component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\YYYYYY</component>
<component
name="path">{8025BB06-C978-dc01-80B6-000000000000}</component>
</value>
<value timestamp="1192196586#5" type="structured">
<component name="nameSpace">1</component>
<component
name="volume">\XXXX-IDMDIR\XXXX\System\DRIVERSET\MAILDRIVER</component>
<component
name="path">2E114BC669E6D173C125737200471777</component>
</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>