xml - asp.net

farshad

Well-known member
Joined
May 1, 2003
Messages
109
Location
London
Here is my xml file. Please see below.
I am not sure how standalone="yes"? got there.

<?xml version="1.0" standalone="yes"?>
<users xmlns="http://tempuri.org/ctcUsers.xsd">
<user>
<firstname>farshad</firstname>
<surname>mardani</surname>
<age>32</age>
<phone>0044 07944 896 088</phone>
<email>fmardani@hotmail.com</email>
<\user>
...

</users>

And each time I save a new user into the xml, it adds <user xmlns="">
instead of just <user>

Therefore my code will not pick up the new user added. But if I manually take the xmlns="" out then the code will pick up the new user.
Any thoughts please?
Thanks
 
Back
Top