2008-07-04 XPathで忘れがちなこと db xml xpath ノードシーケンスの結合 - intersect演算子 シーケンス積をとる。 data7.xml <abc> <def g="1"/> <x>1</x> <def g="2"/> <def g="3"/> <x>1</x> <def g="4"/> </abc> chap3-24.xq fn:doc("data7.xml")//def[. >> ../x[1]] intersect fn:doc("data7.xml")//def[. << ../x[2]] 結果 <def g="2"/> <def g="3"/>