On Saturday 03 July 2004 12:41, S2 wrote: > Hello all. > I have an XML file like the attached one, and i would like to import > those transactions in GnuCash.
I started off with exactly this query - trying to use XSLT to import an invoice into GnuCash. I'm currently writing the merge function because currently, none exists. Start here: https://lists.gnucash.org/pipermail/gnucash-devel/2004-April/011219.html Creating Gnucash invoices with XML/XSLT > Is this somehow possible? Maybe transforming the XML file using XSLT? Not yet. See the archive for reasons why XSLT may not be the best route but the problem lies deeper - GnuCash needs to know how to merge data sources. > It's for a J2ME midlet I am developing for J2ME capable Handhelds. The function will be capable of accepting any input that can be read by GnuCash into a GNCBook* structure - once that is done, I will be looking at my original objective - creating invoices in GnuCash by synchronising with my Palm Tungsten using pilot-link code. The plan would be to take a look at the Calendar and the Contacts databases, check Expenses for the same date, use some config data to transform that into a form of invoice. That data can then be read into GnuCash using whatever format is most suitable, including XML or CSV. The hard part is defining how the existing book should add the new data and handling collisions intelligently. That is where I am currently working. I have an early draft of the code here: http://www.codehelp.co.uk/code/group__BookMerge.html#ga0 -- Neil Williams ============= http://www.codehelp.co.uk/ http://www.dclug.org.uk/ http://www.isbn.org.uk/ http://sourceforge.net/projects/isbnsearch/ http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
pgpndZItmuXfz.pgp
Description: signature
_______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] https://lists.gnucash.org/mailman/listinfo/gnucash-devel