Convert PHP to XML and viceversa using XML Schema definition as encoding style