有人可以提供以下帮助吗?
我需要转换
<categories type="array">
<category type="array">
<category-name><![CDATA[Categories]]></category-name>
<category-name><![CDATA[BAGS & TRIPODS]]></category-name>
<category-name><![CDATA[Bags & Cases]]></category-name>
<category-name><![CDATA[soft cases]]></category-name>
<category-name><![CDATA[camera]]></category-name>
</category>
</categories>
进入
<Category>
<Name>BAGS & TRIPODS</Name>
<Category>
<Name>Bags & Cases</Name>
<Category>
<Name>soft cases</Name>
<Category>
<Name>camera</Name>
</Category>
</Category>
</Category>
</Category>
这必须在 XSLT 1.0 中。谢谢!