正如我之前所说,我已经开始学习 XSLT
当我工作时,我得到了错误类型的 XML 格式
输入
<?xml version="1.0" encoding="ISO-8859-1"?>
<testingconfig note-ref="no">
<access-panel>113AL</access-panel>
<access-panel>119AL</access-panel>
</testingcongif>
输出
<?xml version="1.0" encoding="ISO-8859-1"?>
<testingconfig>
<panel><panelid>113AL</panelid></panel>
<panel><panelid>119AL</panelid></panel>
</testingconfig>
我的 XSL
<?xml version="1.0" encoding="ISO-8859-1"?>
<testingconfig>
<xsl:for-each select="testingconfig">
<panel>
<panelid>
<xsl:value-of select="*"/>
</panelid>
</panel>
</xsl:for-each>
</testingconfig>
为此输出的是
<testingconfig>
<panel>
<panelid>
113AL 119AL
</panelid>
</panel>
</testingconfig>
任何人都可以帮助我在这里我做错了,请帮助我如何在 XSLT 2.0 中做到这一点
请帮助我
谢谢和问候