Hi,
i have one XML file,... in that i am maintaining the server name and database name,.../
Now i want to delete one set of server name and database name and insert those element into the first position of the same xml document,... for getting the recently accessed element,...
<Connections>
<Connection>
<Server>x1</Server>
<Database>d1</Database>
</Connection>
<Connection>
<Server>x2</Server>
<Database>d2</Database>
</Connection>
</Connections>
In the above code,
i want to delete the server x2 and d2 and insert before x1 and d1 like this given below,...
<Connections>
<Connection>
<Server>x2</Server>
<Database>d2</Database>
</Connection>
<Connection>
<Server>x1</Server>
<Database>d1</Database>
</Connection>
</Connections>
Can any one help me?