私がこれを持っている場合、私は何ができますか:
<e1>t1<e2>t2</e2></e1>
XSLTで翻訳したい:
<c1>t1<c2>t2</c2></c1>
私は試してみました:
<xsl:template match="e1">
<c1>
<xsl:value-of select=".">
<xsl:apply-templates/>
</xsl:value-of>
</c1>
</xsl:template>
<xsl:template match="e2">
<c2>
<xsl:value-of select="."/>
</c2>
</xsl:template>
しかし、値が空でなければならないので、私は間違いを受け取ります。