discuss: Question on XML Docbook


Previous by date: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Vivek Venugopalan
Next by date: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Gert Dewit
Previous in thread: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Vivek Venugopalan
Next in thread: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Gert Dewit

Subject: Re: Question on XML Docbook
From: John Fleck ####@####.####
Date: 21 Feb 2002 15:41:16 -0000
Message-Id: <20020221084037.B888@inkstain.net>

On Thu, Feb 21, 2002 at 07:13:12AM -0800, Vivek Venugopalan wrote:
> 
> Here is what I get
> C:\dbxml\work\validator>xsltproc --docbook %DBXSL%
> validator.sgml > out.html
> validator.sgml:3: error: docbParseDocTypeDecl :
> internal subset not handled
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML
> V4.1.2//EN" [
>                                                       
>          ^

What you are trying to do, if I understand it correctly, will not
work. Is the document DocBook sgml?

Daniel Veillard added the --docbook flag to xsltproc as, in his words,
"an ugly, bad bad hack" to try to help people who wanted to process
DocBook sgml with his tools. But using his xml tools to process sgml is
rather like using the handle of your screwdriver to pound in a nail -
it will work if conditions are perfect, but they rarely are. One thing
it doesn't handle is entities, according to Daniel.

Your best solution if you want to use xsltproc is to convert your doc
to xml.

Cheers,

John

Previous by date: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Vivek Venugopalan
Next by date: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Gert Dewit
Previous in thread: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Vivek Venugopalan
Next in thread: 21 Feb 2002 15:41:16 -0000 Re: Question on XML Docbook, Gert Dewit


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