Answer the question
In order to leave comments, you need to log in
C# how to add a group of elements with attributes after a certain element in XML?
For example, there is a file: test.xml
With elements and attributes.
<student age="12" phone="11111111">
<name>name</name>
</student>
<student age="12" phone="11111111">
<name>name</name>
</student>
<student age="13" phone="22222222">
<name>name</name>
</student>
<student age="14" phone="33333333">
<name>name</name>
</student>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question