FAQ
Can anyone suggest some libraries to parse excel 2003 xml files and the
binary version of xls prior to that?

I found github.com/tealeg/xlsx that can handle the newer xlsx.


Best regards,

Ty

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Konstantin Khomoutov at Mar 23, 2016 at 11:57 am

    On Tue, 22 Mar 2016 14:41:31 -0700 (PDT) Tieson Molly wrote:

    Can anyone suggest some libraries to parse excel 2003 xml files and
    the binary version of xls prior to that?

    I found github.com/tealeg/xlsx that can handle the newer xlsx.
    What are platform requirements?

    If your code should only run on Windows, and you may have Excel or
    Open/Libre-Office installed on it, you can use go-ole [1] to have these
    suites open and parse the necessary files by talking to them using the
    Windows' COM technology. The upside is that the support for parsing
    the necessary data format is usually robust in these tools.
    The downside is platform dependency and very slow speed of processing.

    Alternatively, you might look at wrapping one or the other non-Microsoft
    library for parsing XLS files, such as freexl [2].
    The downside will be the usual one of anything depending on cgo.

    You could also do a favor to the community and port such a library to
    native Go ;-)

    1. https://github.com/go-ole/go-ole
    2. https://www.gaia-gis.it/fossil/freexl

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Tieson Molly at Mar 23, 2016 at 2:11 pm
    Thanks Konstantin,

    I did find one pure Go library that looks like it might handle the binary
    version of the older xls

    https://github.com/extrame/xls

    I have not tested it. I know a pure Go solution for the 2003 xml variant
    would not be too difficult as it is pure xml.



    On Wednesday, March 23, 2016 at 7:57:54 AM UTC-4, Konstantin Khomoutov
    wrote:
    On Tue, 22 Mar 2016 14:41:31 -0700 (PDT)
    Tieson Molly <tvm...@gmail.com <javascript:>> wrote:
    Can anyone suggest some libraries to parse excel 2003 xml files and
    the binary version of xls prior to that?

    I found github.com/tealeg/xlsx that can handle the newer xlsx.
    What are platform requirements?

    If your code should only run on Windows, and you may have Excel or
    Open/Libre-Office installed on it, you can use go-ole [1] to have these
    suites open and parse the necessary files by talking to them using the
    Windows' COM technology. The upside is that the support for parsing
    the necessary data format is usually robust in these tools.
    The downside is platform dependency and very slow speed of processing.

    Alternatively, you might look at wrapping one or the other non-Microsoft
    library for parsing XLS files, such as freexl [2].
    The downside will be the usual one of anything depending on cgo.

    You could also do a favor to the community and port such a library to
    native Go ;-)

    1. https://github.com/go-ole/go-ole
    2. https://www.gaia-gis.it/fossil/freexl
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Tamás Gulácsi at Mar 23, 2016 at 3:32 pm
    For basic "shovel out the data" it just works.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMar 22, '16 at 9:41p
activeMar 23, '16 at 3:32p
posts4
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase