discuss: moin & docbook


Previous by date: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Svetoslav P. Chukov
Next by date: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Sergiusz Pawlowicz
Previous in thread: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Svetoslav P. Chukov
Next in thread: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Sergiusz Pawlowicz

Subject: Re: [discuss] moin & docbook
From: "Karl O. Pinc" ####@####.####
Date: 4 Jun 2008 13:19:33 +0100
Message-Id: <1212582445l.3318l.0l@mofo>

On 06/04/2008 01:42:20 AM, jdd wrote:

> 
> source code:
> 
> empty page
> 
> docbook display:
> 
> −
> 	<article>
> −
> 	<articleinfo>
> <title>MoinMoin/test</title>
> </articleinfo>
> <para>empty page </para>
> </article>
> 
> any idea of (simple) test I could do?

That looks like docbook.  Validate with

xmllint --nonet --postvalid --noout --nonet foo

You will need to add an xml header and dtd at the top
(although that may be in the source already being sent
to your browser, and it'd have the right version number
too):
<?xml version='1.0'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
          "http://www.oasis-open.org/docbook/xml/4.3/docbookx.
dtd">

Then you want to go the other way, make a new page, and
paste the docbook in and see if the wiki displays it properly.

Whatever you paste will need an xml header and document
type declaration too.


Karl ####@####.####
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein

Previous by date: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Svetoslav P. Chukov
Next by date: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Sergiusz Pawlowicz
Previous in thread: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Svetoslav P. Chukov
Next in thread: 4 Jun 2008 13:19:33 +0100 Re: moin & docbook, Sergiusz Pawlowicz


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.