GnuCash XML spec

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


John Ralls <jralls at ceridwen.us> writes:

> On Nov 1, 2012, at 3:49 AM, Ngewi Fet <ngewif at gmail.com> 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:
>> http://svn.gnucash.org/trac/browser/gnucash/trunk/src/doc/xml/gnucash-v2.rnc
>> current?
>
> Ngewi,
>
> You can use Trang (http://www.thaiopensource.com/relaxng/trang.html) 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
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list