> > I have started to think seriously about moving to XML for LyX's native > file format. I doubt that we will want to do this for 2.1, as it is too > late, really, so I am thinking about doing it for some time early in the > 2.2 cycle, which means starting now. > First of all, This is a very old feature request that will be greatly appreciated at least from my part! So if you manage to achieve this it will be a huge improvement but just a starting point for the rest of things that can be done with an XML native format. There is a thread for this named "Would a native LyX XML schema be accepted?".
> My plan is first to write routines that will output a pure XML version > of a LyX document and then to worry about the read routines once that is > working. I think it will be fairly easy to get that much done, by > working off the XHTML stuff. Some of that will prove re-usable. > > Thinking ahead, however: Should we use some SAX library to read the XML? > Or should we just adapt the Lexer for this purpose? > > Richard > I think there are much work done in this sense, please read Nico Williams' approach. I think is the correct way to follow. My 5c Alex