mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@640 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
09771694c6
commit
5935fac871
@ -11,7 +11,7 @@ document that contains financial data. An OFX document would look
|
|||||||
vaguely like this:
|
vaguely like this:
|
||||||
|
|
||||||
<transaction>
|
<transaction>
|
||||||
<date>July 17, 1998</date>
|
<date>March 10, 1998</date>
|
||||||
<amount>$300.00</amount>
|
<amount>$300.00</amount>
|
||||||
<description>Buy new microwave oven</description>
|
<description>Buy new microwave oven</description>
|
||||||
</transaction>
|
</transaction>
|
||||||
@ -50,11 +50,31 @@ Are there any packages that can
|
|||||||
(b) parse the incoming text document, and build the corresponding
|
(b) parse the incoming text document, and build the corresponding
|
||||||
C/C++ linked-lists/trees in memory?
|
C/C++ linked-lists/trees in memory?
|
||||||
|
|
||||||
I am hitting up the MICO mailing list since at least step (a) is
|
---------------------------------------------------------------
|
||||||
somewhat similar to parsing a corba IDL file and spitting out C++.
|
|
||||||
|
|
||||||
Comments?
|
More specifically, given the DTD
|
||||||
|
|
||||||
|
<!ELEMENT transaction - - (date, amount, description) >
|
||||||
|
<!ELEMENT date - - %datetype >
|
||||||
|
<!ELEMENT amount - - %numerictype >
|
||||||
|
<!ELEMENT description - - %stringtype >
|
||||||
|
|
||||||
|
I want something that will read this, and *automatically* spit out the
|
||||||
|
following ascii stream:
|
||||||
|
|
||||||
|
class Transaction {
|
||||||
|
time_t date;
|
||||||
|
double amount;
|
||||||
|
char * description;
|
||||||
|
};
|
||||||
|
|
||||||
|
---------------------------------------------------------------
|
||||||
|
James Clark's SGML/Parser (SP) http://www.jclark.com/sp/index.htm
|
||||||
|
Jade
|
||||||
|
|
||||||
|
dssslist@mulberrytech.com
|
||||||
|
|
||||||
|
--------------------------------------------------------------
|
||||||
--linas
|
--linas
|
||||||
|
|
||||||
10 March 1998
|
10 March 1998
|
||||||
|
Loading…
Reference in New Issue
Block a user