Thursday, 22 August 2013

Unique nodes and c#

Unique nodes and c#

Is there a good way in c# to look through an XML node list using DOM and
get a node list of only the unique nodes and also a list of each nodes
unique possible attributes.
The XMl file in question has nodes of the same name but with different
attributes, i want a list of all the possible ones. Also the list of nodes
i would like to be only of the unique nodes, rather than having repeats
(so node lists i generate at the moment might have contact twice, three
time ect within it). And it needs to work for any XML document. Any ideas?

No comments:

Post a Comment