You shouldn't attempt to convert the XML to SQL -- doing so would be far too time consuming. Instead, try to figure out why you are getting that error to begin with. I'd recommend reading and understanding not only the install documentation that ships with OCS itself (see docs/INSTALL), but also the Installation section in the OJS userguide
. (I know you are trying to install OCS -- the process is exactly the same for both applications.)
If you still get the error, try searching for it on the forum -- others have probably encountered the same problem, and have found solutions. If you don't find anything, please feel free to repost, describing exactly what steps you took to date, and what kind of problems you are experiencing.