Hello!

Once again Xpath :-), here is my xml input content, What I want to
test is as following :

a) Does peopleid with value "001" found under any of link elements
with linktype="sub"?

b) If Yes, Get its "connid" and "type"

Expected Result = "normal", "3A Volly"

I have repeated link elements in the xml content. peopleid cannot
belong to multiple link linktype="sub", so the value is unique per
linktype="sub"



Xml content:

<link linktype="sub" >
<connection>
<connid type="normal" >3A Volly</connid>
</connection>
<people>
<peopleid peopletype="permanant">001</peopleid>
<peopleid peopletype="permanant">002</peopleid>
</people>
</link>


Thank for the help in advance!

Max.


--
love anything that talks binary!
------------------------------------------------------------------------
belaie's Profile: http://forums.novell.com/member.php?userid=4368
View this thread: http://forums.novell.com/showthread.php?t=416799