Re: Blessing DocBook/XML for Debian documentation?
On Sun, Aug 21, 2005 at 09:05:29AM -0400, R. Wood wrote:
> A related question about generating XML/DocBook: is anyone here
> sufficiently familiar with both DocBook and reStructuredText to judge
> whether the latter can actually generate well-formed output of the
> former?
>
> If yes, this might make it much simpler for some people to produce
> DocBook, without having to edit XML directly.
Just my unqualified opinion: You could write a document in reST
and transform into DocBook/XML. However, other contributors
will change the DocBook/XML version and there is no lossless
transformation in the other direction. E.g. in reST, you have
``literal text``, whereas in DocBook/XML you may have
<literal>literal text</literal>,
<filename>/etc/passwd</filename>, <constant>pi</constant> etc.
Cheers,
--
W. Borgert <debacle@debian.org>, http://people.debian.org/~debacle/
Reply to: