0
我是xslt的新手。當我使用下面的一段代碼進行從一種形式到另一種形式的轉換時。這是下面的格式正確嗎?將xml元素數據從一個xml複製到另一個xml usin xslt
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:app="http://*/*/*/applicationRequest">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/app:ApplicationRequest/BusinessChannel">
<xsl:copy-of select="$ApplicationBatchDocument/BusinessChannel"/>
</xsl:template>
</xsl:stylesheet>
肯定會用有效的輸入xml和xsl文件更新你。 – user3371058