我有象下面的數據:XSLT得到與逗號分隔符匹配的數據
<ProductAttributes>
<Attribute>
<ItemCode>ITEM-0174676</ItemCode>
<AttributeCode>host_interface</AttributeCode>
<AttributeDescription>Host Interface</AttributeDescription>
<AttributeValueCode>usb</AttributeValueCode>
<AttributeValueDescription>USB</AttributeValueDescription>
<GroupCode>technical_information</GroupCode>
<GroupDescription>Technical Information</GroupDescription>
<GroupPostion />
<DisplayInList>True</DisplayInList>
<GroupPosition>1</GroupPosition>
</Attribute>
<Attribute>
<ItemCode>ITEM-0174676</ItemCode>
<AttributeCode>host_interface</AttributeCode>
<AttributeDescription>Host Interface</AttributeDescription>
<AttributeValueCode />
<AttributeValueDescription>USB</AttributeValueDescription>
<GroupCode>technical_information</GroupCode>
<GroupDescription>Technical Information</GroupDescription>
<GroupPostion />
<DisplayInList>True</DisplayInList>
<GroupPosition>1</GroupPosition>
</Attribute>
<Attribute>
在這裏,在上面的XML <AttributeDescription>
由具有在這種情況下,既<Attribute>
節點相同的文字我想顯示的reslut如下這將使用<AttributeValueDescription>
節點,因此結果將是
主機接口:USB,USB
所以對於結果的任何幫助嗎?
由於提前, 嗡
你需要檢測如果這些值是重複的? – 2010-01-15 09:36:26