You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnucash/libgnucash/doc/xml/transactions-v2.dtd

46 lines
1.2 KiB

<!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;>