Daniel wrote:

>    Hello,
> 
>  Apologies by my poor English.
>  
>  I have a xml file as following:
> 
>  And I would convert this file to a lyx file. The lyx file should be
> something as following:

The easiest method is probably to create a small python script. Use one of
the python XML parsers for reading (see
http://docs.python.org/lib/markup.html) and the LyX.py class from lyx2lyx
for writing the .lyx file. You still need to do some work by hand, but
LyX.py knows about some things, e.g. the header.


Georg

Reply via email to