XSL FACTORY

The goal of this site is to provide some free (open source) XSLT files, use of theses files are permited (read the licenses) and feedback is really welcome to make theses files better ones

GNUCASH

Gnucash To Gnumeric

Here's and quite big XSL file able to transform your gnucash XML files to a big gnumeric spreadsheet. The Workbook will contain several sheets. One with all the accounts, a diary with all the transactions, and on sheet by account whith all the transactions.
tests are welcome, especially if it doesn't works!
All indications are commented in the stylesheet.

Now avaible for 1.8.x versions of gnucash, if you have an old version (no
gnc:book in your file) you'll have to add it.
Anyway You should replace the <gnc-v2> (work on copy) by this one:
<gnc-v2 xmlns:gnc="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/io-gncxml-version-2.dtd#gnc"
xmlns:book="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/io-gncxml-version-2.dtd#book"
xmlns:cd="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/io-gncxml-version-2.dtd#cd"
xmlns:act="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/account-v2.dtdt#act"
xmlns:trn="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/transactions-v2.dtd#trn"
xmlns:split="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/transactions-v2.dtdt#split"
xmlns:cmdty="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/comodity-v2.dtd#cmdty"
xmlns:ts="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/types.dtd#ts"
xmlns:slots="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/types.dtd#slots"
xmlns:slot="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/types.dtd#slot"
xmlns:price="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/prices-v1.dtd#price"
xmlns:pricedb="http://www.gnucash.org/lxr/gnucash/source/src/doc/xml/prices-v1.dtd#pricedb">
And if you have an old version you should add as well "<gnc:book>" and
replace the"</gnc-v2>" by a "</gnc:book></gnc-v2>".