Technically, XML files either follow a companion style sheet or follow an implicit style predetermined specifically for a given application.
GnuCash applicable files and OFX files are both of the second type. There is no expectation that a XML type file not created explicitly for either of those applications or for any of the dozens of other applications could be read by a different application than the target application. You might compare XML to English or Chinese, rather than to assembly or Fortran or C. David Carlson On Wed, Jun 3, 2020, 4:42 PM David Cousens <davidcous...@bigpond.com> wrote: > Will > > In a sense GnuCash does import xml as its main datafile is stored as an > xml file if you are not using the database > backends. XML is possibly a bit too wordy for general use as you have two > tags in addition to the data for each piece of > data. you cannot use random tags - the program has to know how to > interpret the tags. GnuCash also does import OFX and > QFX files which are XML files using a set of tags defined in the OFX > specification for the exchange of finacial data. > You could always format data for import as OFX but it has a lot of > extraneous data identifying the sourceof the data and > purpose that has to be supplied. CSV is generlly far easierto setup and > import. > > David Cousens > > On Wed, 2020-06-03 at 08:17 -0500, w...@theprescotts.com wrote: > > I am new to this mailing list although I have used GnuCash for years. I > don't know if there exists a current solution > > to importing xml data, but it would seem to me to be a simple matter to > write a translator that could convert xml into > > csv or some other format. Most languages (python, ruby, perl) have > support for reading xml. Writing csv is easy. > > > > Will > > > > On 2020 Jun 2, at 06-02 20:42:00, Daming Gao <gdmut2...@gmail.com> > wrote: > > > > Dear community members, > > > > I am very new to GNUCash and here might be a dumb question to ask. > > > > We are using Logitude software to keep track of our invoices. They are > exportable XML format. Is there a way to import > > XML into GNUCash? Since the import function does not support that (I > only saw QIF/FIX/CSV…etc). > > > > Any help could be appreciated! > > > > Best, > > Gary > > > > _______________________________________________ > > gnucash-user mailing list > > gnucash-user@gnucash.org > > To update your subscription preferences or to unsubscribe: > > https://lists.gnucash.org/mailman/listinfo/gnucash-user > > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > > ----- > > Please remember to CC this list on all your replies. > > You can do this by using Reply-To-List or Reply-All. > > > > _______________________________________________ > > gnucash-user mailing list > > gnucash-user@gnucash.org > > To update your subscription preferences or to unsubscribe: > > https://lists.gnucash.org/mailman/listinfo/gnucash-user > > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > > ----- > > Please remember to CC this list on all your replies. > > You can do this by using Reply-To-List or Reply-All. > -- > Dr David R Cousens > B.Sc, M.Prof. Acc., Ph.D., G.C.Ed > > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.