Trouble serializing and deserializing multiple objects

Your xml has multiple root elements, this is not allowed for valid xml.
If you change it to the format, this should work.

<?xml version="1.0"?>
<Users>
   <user></user>
   <user></user>
</Users>

Leave a Comment