[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Angus Leeming <[EMAIL PROTECTED]> writes: > | | Lars Gullik Bjønnes wrote: >>> This is my test expath code so far. >>> This gives me everything in the file... now I just need to make use of >>> it. >>> >>> Signal driven. >> | | Looks good. Also looks like lots still to do. >> | | Seriously, if you would like some help with this, why not create a branch | | of the cvs tree and check in your work to date. Writing 100 tiny functions | | to handle the generation of each piece of the lyx data structure is going | | to be too boring for one man ;-) > | Actually since I have all the new code enclosed in "ifdef | XML_FILE_FORMAT" I'll think I'll just commit it to head. > | But I am not going to make it any easier to actually set the define.
I have begun on a road that I am not sure that I should continue. It is nice in a way... but I have feeling that it is complicated... OTOH the handlers are quite easy to write, since you only follow the DTD when doing so. I am now so far that I can with little effort parse a document - header only. Have a look at these, and comment please:
parser.h
Description: Binary data
parser.C
Description: Binary data
-- Lgb