Insert XML node before specific node using c#

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<?xml version="1.0"?><br/>
<filter><br/>
<textfilter><br/>
<text category="1 <br/>
<string>xxx</string><br/>
</text><br/>
<text category="2 <br/>
<string>aaaaaa</string><br/>
<string>bbbbbb</string><br/>
</text><br/>
</textfilter><br/>
<numberfilter><br/>
<text nubcategory="1 <br/>
<string>9446100000</string><br/>
<string>9744600000</string>
// Using C#, I need to insert this node <string>9744685885</string>
here<br/>
</text><br/>
</numberfilter><br/>
<br/>
</filter> <hr class="sig Good Judgment Comes From Experience, And Experience Comes From Bad Judgment

View the full article
 
Back
Top