我是 XSLT 转换的新手,被这个递归映射困住了。
<Element1>
<Element11/>
<Element12/>
<Element13/>
<Element1>
<Element11/>
<Element12/>
<Element13/>
</Element1>
</Element1>
会变身
<Information>
<Element11/>
<Element12/>
<Element13/>
</Information>
<!-- This will be the child Element1 -->
<Metadata>
<Element11/>
<Element12/>
<Element13/>
</Metadata>
绝对我不能使用:
<xsl:template match="/">
<xsl:for-each select="Element1">
<Information>
</xsl:for-each>
</xsl:template>