HI

I'm trying to parse a mapping table to force to utilise a value from
it. I'd like to do this to stop querying the directory every time to
buld the node.

I am able to retrieve the data and do a for loop, but i'm stuck with
how to pull the values out of the resulting nodeset.

The code below seems to setup the nodeset and decode it, but its in the
format of

<row>
<col>TSC</col>
<col>\TSC\TSC-USERS</col>
</row>

I only need to utilise the second column information.

<do-set-local-variable name="var_mytable1" scope="policy">
<arg-node-set>
<token-xml-parse>
<token-base64-decode>
<token-src-attr name="DirXML-Data">
<arg-dn>
<token-text>X\Library\eDir Placement Table Table</token-text>
</arg-dn>
</token-src-attr>
</token-base64-decode>
</token-xml-parse>
</arg-node-set>
</do-set-local-variable>
<do-for-each>
<arg-node-set>
<token-local-variable name="var_mytable1"/>
</arg-node-set>
<arg-actions>
<do-set-local-variable name="var_test" scope="policy">
<arg-string>
<token-local-variable name="current-node"/>
</arg-string>
</do-set-local-variable>
</arg-actions>
</do-for-each>


--
cfiegert
------------------------------------------------------------------------
cfiegert's Profile: http://forums.novell.com/member.php?userid=9337
View this thread: http://forums.novell.com/showthread.php?t=327074