Hello!
I have the xml file: http://www.nabble.com/file/p23852396/test.xls test.xls
. This file has xml format and can be opened by MS Excel. I tried to read
this file by poi:
....
Workbook workbook = WorkbookFactory.create(new FileInputStream("test.xls"));
...
I got exception:
Exception in thread "main" java.lang.IllegalArgumentException: Your
InputStream was neither an OLE2 stream, nor an OOXML stream
I opened this file in MS Excel and saved as real xls: test1.xls
I tried to read this file by POI - no exceptions!
And question: Is it possible to convert this xml file to xls using POI?
Thanks!
--
View this message in context:
http://www.nabble.com/How-to-convert-xml-to-xls-tp23852396p23852396.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]