如何将以下/连续值参数合并到输出主卡 1234。
XML:
<CustomFieldList>
<CustomField>
<Name>PaymentCardType1</Name>
<Value>Master Card</Value>
</CustomField>
<CustomField>
<Name>CardDisplayNumber1</Name>
<Value>1234</Value>
</CustomField>
Name>PaymentCardType2</Name>
<Value>Gift Card</Value>
</CustomField>
<CustomField>
<Name>CardDisplayNumber2</Name>
<Value>6789</Value>
</CustomField>
</CustomFieldList>
XSLT:
<xsl:for-each select="/cXML/Message/CustomFieldList">
<xsl:for-each select="/cXML/Message/CustomFieldList/CustomField">
....
</xsl:for-each>
</xsl:for-each>
可以创建任何自定义标签来存储付款类型和号码
<payment1>Master Card 1234</payment1>
<payment2>Gift Card 6789</payment2>