Victor Charles
asked on
How to deletw Rows with duplicate data element?
Hello,
How do I delete rows with duplicate Child in my xml file? For example if my xml file contains
<Row>
<Item>1</Item>
<Child>1</Child>1
</Row>
<Row>
<Item>2</Item>
<Child>1</Child>1
</Row>
<Row>
<Item>3</Item>
<Child>2</Child>1
</Row>
<Row>
<Item>4</Item>
<Child>1</Child>1
</Row>
I would like to create a new xml file with the following data (removing Rows with duplicate Child)
<Row>
<Item>1</Item>
<Child>1</Child>1
</Row>
<Row>
<Item>3</Item>
<Child>2</Child>1
</Row>
I am uding VB.NET (VS2010)
Thanks,
Victor
How do I delete rows with duplicate Child in my xml file? For example if my xml file contains
<Row>
<Item>1</Item>
<Child>1</Child>1
</Row>
<Row>
<Item>2</Item>
<Child>1</Child>1
</Row>
<Row>
<Item>3</Item>
<Child>2</Child>1
</Row>
<Row>
<Item>4</Item>
<Child>1</Child>1
</Row>
I would like to create a new xml file with the following data (removing Rows with duplicate Child)
<Row>
<Item>1</Item>
<Child>1</Child>1
</Row>
<Row>
<Item>3</Item>
<Child>2</Child>1
</Row>
I am uding VB.NET (VS2010)
Thanks,
Victor
ASKER
Sorry,
I'm lost, how do i incoporate this code in VB.NET? What do i need to import in my project to use this code? How do you create the new xml file without duplicate?
Thanks,
Victor
I'm lost, how do i incoporate this code in VB.NET? What do i need to import in my project to use this code? How do you create the new xml file without duplicate?
Thanks,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
welcome
Open in new window