Re: patch to XML docbook output



On Sun, 2002-06-02 at 06:18, James Henstridge wrote:
> As I said in a previous mail, you need to put a correct DOCTYPE header 
> at the top of the xinclude'd documents.  With a correct doctype, it 
> works for me (and my latest patches do put a correct doctype when 
> generating XML docbook output).  If this doesn't work for you, it would 
> be good to find out why.
> 

They have a doctype header that pointed to docbook xml 4.1.2... but
docbook isn't what defines &percent; and friends, right? My patch makes
it so that the doctype headers look like this:

<!DOCTYPE refentry PUBLIC "-//OASIS//DTD Docbook XML V4.1.2//EN" 
                  
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
  <!ENTITY hash "&#x23;">
  <!ENTITY percent "&#x25;">
]>

I was thinking this was the correct way to address Matthias' comments
about needing to support &percent; and &hash;.

Peter


-- 
Peter Williams     peter newton cx / peterw ximian com

"Why should I have to change my name? He's the one who 
sucks!"                              -- Michael Bolton




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]