<category link-id="681" link-handle="package-products" value="Package products">
<entry id="1077" images="1" products="1" brands="1">
<sub-category>
<item handle="pens">Pens</item>
<item handle="refills-pens">Refills : Pens</item>
</sub-category>
</entry>
<entry id="1075" images="1" products="1" brands="1">
<sub-category>
<item handle="pencil">Pencil</item>
<item handle="refills-pencil">Refills : Pencil</item>
</sub-category>
</entry>
<entry id="1073" images="1" products="1" brands="1">
<sub-category>
<item handle="pencil">Pencil</item>
<item handle="refills-pencil">Refills : Pencil</item>
</sub-category>
</entry>
<entry id="1050" images="1" products="1" brands="1">
<sub-category>
<item handle="marker">Marker</item>
<item handle="refills-marker">Refills : Marker</item>
</sub-category>
</entry>
我想從子類別中刪除輸出的重複第3塊。 請幫助我。 我想輸出:從xml中刪除重複的子類別塊項目
Pens
Refills : Pens
Pencil
Refills : Pencils
Marker
Refills : Marker
你可以張貼XSLT(你都試過),始終張貼測試的簡單和完整的XML(在這裏,它沒有良好的XML)。 – 2014-10-29 14:11:22
什麼版本的XSLT? – 2014-10-29 15:12:42
@DanielHaley:1.0版本的XSLT – 2014-10-30 05:00:32