Your XML document is actually three documents. A valid XML document must contain only one root root. In addition, XML declarations are not allowed inside the document.
This is valid XML (XML declaration first, one root element):
<?xml version="1.0"?> <Customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FirstName>Khaled</FirstName> <LastName>Marouf</LastName> </Customer>
This is invalid XML (multiple root elements, xml declaration inside the document):
<?xml version="1.0"?> <Customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FirstName>Khaled</FirstName> <LastName>Marouf</LastName> </Customer><?xml version="1.0"?> <Customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FirstName>Faisal</FirstName> <LastName>Damaj</LastName> </Customer>
source share