On Wed, Feb 21, 2001 at 11:25:04PM +0100, ben wrote:
> Juan Pablo Diaz a ?crit :
> 
> > How can i make a layout to create XML DocBook Documents?
> 
> Well, you don't need to do anything. At the moment direct XML output is
> not yet available (but it should be available in version 1.2.x) but you
> can export to SGML and change only the two first lines, and it should
> work. Personnaly what I change is:
> 
> <!doctype book public "-//OASIS//DTD DocBook V3.1//EN"
> 
> to:
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE book SYSTEM "file:///(full path)/docbookx.dtd"
> 
> I know, it is not automatic, but for me it works.

You can write a (trivial) script that does this conversion,
and with lyx 1.1.6 you can define a new format (e.g. xml-docbook) and use
the script as a docbook->xml-docbook converter.

Reply via email to