Hi, I have pasted the xml file below. When I try to load this xmlfile into an instance of xml document, it gives "Root element missing ".
I tried to check the well formedness and xpath queries in xmlspy and things looked fine to me.
<?xml version="1.0" encoding="utf-8" ?>
<Tasks>
<Task Name="My Task" Prime="2" Description="Some name">
<Server>SMSPAP1171M:8080</Server>
<Server>SMSPAP1171M:8180</Server>
</Task>
</Tasks>
Please tell whats wrong with this xml file.
Additionally, when I need to add a new task from the UI, how to I add it as the last element(I need to keep the all the existing ones and add this new task at the end of the file before </Tasks>) using xml writer?????