John Ralls <[email protected]> writes:
> On Nov 1, 2012, at 3:49 AM, Ngewi Fet <[email protected]> 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
[email protected] PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel