GnuCash XML spec

Derek Atkins warlord at MIT.EDU
Thu Nov 1 11:12:49 EDT 2012

John Ralls <jralls at> writes:

> On Nov 1, 2012, at 3:49 AM, Ngewi Fet <ngewif at> wrote:
>> Hi everyone,
>> I have a few questions about the GnuCash XML.
>> Is there any XSD schema for GnuCash XML or only the RELAX NG schema? If
>> there is, can someone point me in the right direction.
>> Also, is the RELAX NG schema at:
>> current?
> Ngewi,
> You can use Trang ( to convert an RNG schema to XSD.
> Gnucash-v2.rnc was contributed only a few months ago, so it's current. Whether or not it's complete or correct is another matter.

Note also that the rnc/xsd is NOT canonical..  It is informative only,
and might change at any time.  GnuCash uses hand-build
generators/parsers and does not use any schema files itself.  So YMMV.

> Regards,
> John Ralls

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list