XLST 1.0 を使用して、「Filter me out」または「And filter me too」でbb要素を持たないaa要素を取得する必要があります。
<data>
<aa>
<bb>Filter me out</bb>
<bb>Some information</bb>
</aa>
<aa>
<bb>And filter me out too</bb>
<bb>Some more information</bb>
</aa>
<aa>
<bb>But, I need this information</bb>
<bb>And I need this information</bb>
</aa>
</data>
正しいaa要素を取得したら、次のように各bb要素を出力します。
<notes>
<note>But, I need this information</note>
<note>And I need this information</note>
</notes>
どうもありがとう。