xpath を使用して、複数のタイトルタグを含むすべてのセクションタグを返したいと考えています。私はもう試した
count(concept/conbody/section:child:title>1)
結果は返されませんでした。複数のタイトルを含むセクションを持つ < 概念を見つけるために、この xpath を多くのファイルで実行したいと考えています。
<concept>
<title>Topic Title</title>
<shortdesc>Short description text.</shortdesc>
<conbody>
<section>
<title>Section Title</title>
<p>paragraph text.</p>
</section>
<section>
<title>Section Title</title>
<p>paragraph text.</p>
<title>Section Title</title>
<p>paragraph text.</p>
</section>
</conbody>
</concept>