Oooh, thanks, this is valuable!  I will experiment further with what you did.  And I presume that this is within the specs or design intentions of GnuCash, so that it should remain usable in further GnuCash versions?
 
Hartmut W Sager - Tel +1-204-339-8331


On 13 March 2017 at 17:53, Glen Ditchfield <GJDitchfield@acm.org> wrote:
On Monday, March 13, 2017 3:04:57 AM CDT Hartmut W Sager wrote:
> so I edited a good GnuCash native XML file by adding a secret payload in one
> existing transaction with <mynewtag>mypayload</mynewtag>, at the same level
> as the other fields of that transaction.

I think you can put arbitrary key-value pairs in <trn:slots>.  I tried a quick
experiment, and
  <gnc:transaction version="2.0.0">
    ...
    <trn:slots>
      <slot>
        <slot:key>mystuff</slot:key>
        <slot:value type="string">mything</slot:value>
      </slot>
survived a load-edit-save cycle.

_______________________________________________
Roundtable mailing list
Roundtable@muug.ca
https://muug.ca/mailman/listinfo/roundtable