poi/xmlbeans/test/cases/xbean/xmlcursor/xquery/Join.xq
2018-02-16 22:41:27 +00:00

11 lines
182 B
Plaintext

for $a in .//employee
return <result>
{ $a/ssn },
{ $a/name },
{
for $b in .//employee
where $b/ssn=$a/ssn and $a/name !=$b/name
return $b/name
}
</result>