this is my xml file
<Persons>
<Person>
<id>1</id>
<Name>Ingrid</Name>
</Person>
<Person>
<id>2</id>
<Name>Ella</Name>
</Person>
</Persons>
I am using linq xml.
here the identifier should be generated automatically.
I need to check if node id value already exists.
If it does not exist, it must create a new identifier. Use linq for this. any pointers?
Thank you
source
share