On Thu, Dec 27, 2012 at 11:22 AM, Richard Heck <rgh...@lyx.org> wrote: > On 12/26/2012 01:03 PM, Nico Williams wrote: >> Granted, if I had a faithful XML schema equivalent of .lyx then version >> changes could break my XSLs. But I could work around that via XSLs to deal >> with version changes, but I think that's quite tolerable (and no different >> than LyX's existing .lyx version change scripts). >> > You can always use the lyx2lyx script to convert a LyX file to whatever > format you need.
Actually, some simple .lyx evolution rules can be used to keep lyx2xml general and working. And it can be run as part of tests to ensure that it hasn't broken (as Kornel Benko suggested). That would be ideal. But right now the script doesn't have full coverage of every .lyx feature, just the ones I've used. So it's too soon to start using it for tests, I think. Nico --