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

Xml content:

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

Thank for the help in advance!


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