问候,我需要帮助组节点的xslt:
我有以下输入XML
<ZMM:Request xmlns:ZMM="http://any.com" PAR_VAR="X">
<PR_BUDAT>
<row SIGN="I" OPTION="BT" LOW="202" HIGH="204"/>
</PR_BUDAT>
<PR_BUDAT>
<row SIGN="I" OPTION="BT" LOW="20170108" HIGH="20200108"/>
</PR_BUDAT>
<PR_FEDE>
<row SIGN="I" OPTION="BT" LOW="201121212" HIGH="20233232"/>
</PR_FEDE>
<PR_FEDE>
<row SIGN="I" OPTION="BT" LOW="201121212" HIGH="20233232"/>
</PR_FEDE>
<PR_FEDE>
<row SIGN="I" OPTION="BT" LOW="6455646565" HIGH="8979879879"/>
</PR_FEDE>
<PR_DEFE>
<row SIGN="I" OPTION="BT" LOW="2222222222" HIGH="3333333333"/>
</PR_DEFE>
.
.
.
</ZMM:Request>
我需要以下输出:
<ZMM:Request xmlns:ZMM="http://any.com" PAR_VAR="X">
<PR_BUDAT>
<row SIGN="I" OPTION="BT" LOW="202" HIGH="204"/>
<row SIGN="I" OPTION="BT" LOW="20170108" HIGH="20200108"/>
</PR_BUDAT>
<PR_FEDE>
<row SIGN="I" OPTION="BT" LOW="201121212" HIGH="20233232"/>
<row SIGN="I" OPTION="BT" LOW="201121212" HIGH="20233232"/>
<row SIGN="I" OPTION="BT" LOW="6455646565" HIGH="8979879879"/>
</PR_FEDE>
<PR_DEFE>
<row SIGN="I" OPTION="BT" LOW="2222222222" HIGH="3333333333"/>
</PR_DEFE>
.
.
.
</ZMM:Request>
这个想法是将具有相同名称的所有节点内容收集到一个唯一的节点中 感谢