I have a XML input
id string 42
You can try with online tool called XMLGrid: http://xmlgrid.net/xml2xsd.html