Convert XML to XLS

Dear folks;

I lost my XLS form for a survey I did. I am wondering there is a way to convert from XML file I previously converted to XLS file.

Would appreciate any support.

Unfortunately, there is no easy easy way to go from XML to XLS.

Hi. I'd like to know if this is still the case. I am in a similar situation. I have forms only in .xml and would like to convert them to .xls

@shashpal I recently scoured GitHub for XLSForm-related projects and unfortunately it looks like there are no easy solutions for converting XForm to XLSForm. The compiled list is here: https://github.com/XLSForm/pyxform?tab=readme-ov-file#related-projects

It may be easiest to convert single forms manually. If there are lots of forms to convert, it might be worth scripting something (e.g. with https://github.com/martinblech/xmltodict, or even XSLT) to at least extract the easier stuff like question names and choices. It would be challenging to reconstruct everything back to XLSForm.

1 Like

All right. Thank you.