Xpathで単調でないクエリを実行するにはどうすればよいですか?
例えば:
<PetOwners>
<OwnerID oid= "01">
<Name>John</Name>
<Pets>
<Pet> <No>1</No><Type>dog</Type></Pet>
<Pet> <No>2</No><Type>cat</Type></Pet>
</Pets>
</OwnerID>
<OwnerID oid= "02">
<Name>Jack</Name>
<Pets>
<Pet> <No>1</No><Type>dog</Type></Pet>
<Pet> <No>2</No><Type>bird</Type></Pet>
</Pets>
</OwnerID>
</PetOwners>
犬を飼っていて猫を飼っていない飼い主を見つけるためのクエリは何でしょうか?