I have this XML file:
<div>
<span id="1">
<a class="time">
25 April 2013 - 11:41PM #3
</a>
<p class="post">
Blog Page Created
</p>
<br/>
</span>
</div>
I know this is the exact format for HTML, but still, this is a XML file.
My problem is that I want to create another span tag.
This tag should be added above the tag that already exists.
I tried some code but its all just a mess and now I am even more confused to how to achieve this.
I am doing C# ASP.NET.
The end output should look like this:
<div>
<span id="2">
<a class="time">
25 April 2013 - 3:00PM #3
</a>
<p class="post">
Blog Page Created
</p>
<br/>
</span>
<span id="1">
<a class="time">
25 April 2013 - 3:00PM #3
</a>
<p class="post">
Blog Page Created
</p>
<br/>
</span>
</div>