Hi
I need help to access some values from a local node-set variable.

I have a variable named $lv-dirxml that contains the
dirxml-associations attribute such as:


Code:
--------------------

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User" event-id="0" qualified-src-dn="O=XXX\OU=Meta\OU=Identities\CN=98761267543242 " src-dn="\XXX-META-TREE\XXX\Meta\Identities\98761267543242" src-entry-id="64473">
<association state="associated">{004C101F-2C3D-dd11-A335-005056922D49}</association>
<attr attr-name="DirXML-Associations">
<value timestamp="1226331483#9605" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\XXX-META-TREE\XXX\XXX\System\DriverSet01\eDirectory_XXX-XXX-TREE</component>
<component name="path">{004C101F-2C3D-dd11-A335-005056922D49}</component>
</value>
</attr>
</instance>
<status event-id="0" level="success"></status>
</output>
</nds>

--------------------

This example only contains one instance but if it would contain several
I would need to get the values from a specific one.
I want to take out the path, volume and nameSpace components from that
variable, how do I do it?

I can do it outside of IDM, in the oxygen xml editor with something
like this:

Code:
--------------------
//attr[@attr-name='DirXML-Associations'][contains(value/component[@name='volume'], 'XXX-XXX-TREE')]/value/component[@name='nameSpace']/text()
--------------------


It gives me the nameSpace value of the attribute that has XXX-XXX-TREE
in its name. How do I make this work in the PB?

Thanks


--
alekz
------------------------------------------------------------------------
alekz's Profile: http://forums.novell.com/member.php?userid=1936
View this thread: http://forums.novell.com/showthread.php?t=333157