gnucash/libgnucash/doc/xml/transactions-v2.dtd
Geert Janssens 83d14e1c1c Restructure the src directory
It is split into
- /libgnucash (for the non-gui bits)
- /gnucash (for the gui)
- /common (misc source files used by both)
- /bindings (currently only holds python bindings)

This is the first step in restructuring the code. It will need much
more fine tuning later on.
2017-08-10 18:45:00 +02:00

46 lines
1.2 KiB
DTD

<!ENTITY % types SYSTEM "types.dtd">
%types;
<!ELEMENT gnc:transaction (trn:guid, trn:num?, trn:date-posted,
trn:date-entered, trn:description?,
trn:slots?, trn:splits)>
<!ATTLIST gnc:transaction version CDATA #REQUIRED>
<!ELEMENT trn:id (#PCDATA)>
<!ATTLIST trn:id type %id-type; %default-id-type;>
<!ELEMENT trn:num (#PCDATA)>
<!ELEMENT trn:date-posted %date-type;>
<!ELEMENT trn:date-enterede %date-type;>
<!ELEMENT trn:description (#PCDATA)>
<!ELEMENT trn:slots %slot-type;>
<!ELEMENT trn:splits (trn:split+)>
<!ELEMENT trn:split (split:id, split:memo?, split:reconciled-state,
split:reconcile-date?, split:value,
split:quantity, split:account,
split:slots?)>
<!ELEMENT split:id (#PCDATA)>
<!ATTLIST split:id type %id-type; %default-id-type;>
<!ELEMENT split:memo (#PCDATA)>
<!ELEMENT split:reconciled-state (#PCDATA)>
<!ELEMENT split:reconcile-date %date-type;>
<!ELEMENT split:value (#PCDATA)>
<!ELEMENT split:quantity (#PCDATA)>
<!ELEMENT split:account (#PCDATA)>
<!ATTLIST split:account type %id-type; %default-id-type;>
<!ELEMENT split:slots %slot-type;>