hi

when I perform a modification on 3 attributes in eDir, the JDBC driver
displays the following xml in the trace:

-------------------------------------------------------------------------------
<input>
<modify cached-time="20120808224450.392Z" class-name="User"
event-id="mid-test#20120808224450#1#1"
qualified-src-dn="O=MIDTEST\OU=PEOPLE\CN=33223312"
src-dn="\IDMDESA1-TREE\MIDTEST\PEOPLE\33223312" src-entry-id="60810"
timestamp="1344465888#6">
<association
state="associated">\IDMDESA1-TREE\MIDTESTA\PEOPLE\33223312</association>
<modify-attr attr-name="LivFunctionCode">
<remove-value>
<value timestamp="1344464736#8"
type="string">00000087</value>
</remove-value>
<add-value>
<value timestamp="1344465888#4"
type="string">00000097</value>
</add-value>
</modify-attr>
<modify-attr attr-name="LivWorkAreaCode">
<remove-value>
<value timestamp="1344464736#2" type="string">B</value>
</remove-value>
<add-value>
<value timestamp="1344465888#2" type="string">A</value>
</add-value>
</modify-attr>
<modify-attr attr-name="costCenter">
<remove-value>
<value timestamp="1344465063#2"
type="string">2231010572</value>
</remove-value>
<add-value>
<value timestamp="1344465888#6"
type="string">2331010573</value>
</add-value>
</modify-attr>
</modify>
</input>

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

Now, I want to get the value of the attribute "CostCenter"

How I can use the XPath function to get the value "2331010573" and
saved in a LocalVariable?

Any suggestions?

thanks


--
eden_silva
------------------------------------------------------------------------
eden_silva's Profile: http://forums.novell.com/member.php?userid=101990
View this thread: http://forums.novell.com/showthread.php?t=458752