fixed the problem with the xs namespace. xsi:type=\"xs:string\"
xmlns:xs=\"http://www.w3.org/2001/XMLSchema\""