[bknr-devel] Problems with XML import/export, can't follow the tutorial

Frederico Muñoz fsmunoz at gmail.com
Fri May 28 15:02:40 UTC 2010


Hello,

2010/5/27 Frederico Muñoz <fsmunoz at gmail.com>:
(...)
> I'll go back at it and hope to have something to show soon (well, for
> relative values of soon).

Well, I have pulled some changes to my github fork. The good news is
that the tutorial now works. However, I'm sure that my changes could
have been done is some better way - the code is not easy for me to
follow.

There are different approaches to how to do the exporting: I've
maintained write-to-xml as the main one. It outputs to
*standard-output*, or to any sink that is passed to it. I've made it a
a macro (that is compatible with the usage seen in the tutorial) and
renamed the original write-to-xml to build-xml (since it doesn't
actuall write anything by itself).

I haven't tested it deeply, but it mostly works. I'm now trying to
understand the code better and see if there is any part in there that
is a left-over of previous rewrites, etc. One of the things I will
surely do is to document the functions - and also document the whole
conversion process, since the way it works is sometimes hard to track.

Regards,

Frederico




More information about the Bknr-devel mailing list