xlslib, at a brief glance, looks like it is based on the .xsl format, not .xlsx. Wondering if it is easier to generate .xlsx XML files for export, or not.
Nearly 4 years ago I wrote a library in Go to read XLSX - that was trivial. It's grown over time, and this year it started growing feature that allow it to write XLSX format. This is a whole different ball game - Microsoft Excel is really picky about what it will and won't accept. In most cases Excel will simply moan and do an automated repair on files that don't match exactly it's expectation. LibreOffice is less annoying in its XLSX handling.
xls is not just one format. There are several formats which Excel will understand, that uses that extension. One of them is a real simple xml-based format (SpreadsheetML), that is way easier to generate than proper excel files and has most of the features you need (At least for data transport purpose). Highly recommend using it.
I second SpreadsheetML; it's plain XML (not multi-part compressed .xslx) and it supports multiple sheets, formulas, formatting, and some other bits like named ranges, print settings, and such.
I know that they are totally different, wondering if xlsx is simpler so that it would be easier code, or whether it is just as complex really, and not suer what real world compatibility is.