I am having data like below:
<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>
Here in above xml <AttributeDescription>
is having same text in both <Attribute>
node in that case i want to display the reslut as below which will use <AttributeValueDescription>
node so the result would be
Host Interface: USB, USB
So any help for the result?
Thanks in advance, Om