0
私の入力XMLは、使用している間XSLT - 重複した親要素を削除
<part type="content">
<part type="content">
<title>PART IFundamentals and Basics</title>
................
</part>
<part type="content">
<title>PART IISkin and Soft Tissue</title>
................
</part>
<part type="content">
<title>PART IIIHead and Neck<target id="p003"/><target id="page215"/></title>
................
</part>
</part>
出力が
<xsl:template match="part[@type='content']/part[@type='content']">
<xsl:apply-templates />
</xsl:template>
、
<part type="content">
<title>PART IFundamentals and Basics</title>
................
</part>
<part type="content">
<title>PART IISkin and Soft Tissue</title>
................
</part>
<part type="content">
<title>PART IIIHead and Neck<target id="p003"/><target id="page215"/> </title>
................
</part>
私のXSLTが似ている、として変更する必要があり、以下のようなものですxsltより上では、 "part"要素が "Part II"親要素から削除されています。あなたは私たちを案内してください。