This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Newbie troubles with Docbook/XML + XHTML
- From: John Levon <levon at movementarian dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 03 May 2002 03:18:03 +0100
- Subject: DOCBOOK-APPS: Newbie troubles with Docbook/XML + XHTML
moz xhtml 286 xsltproc --version
Using libxml 20413, libxslt 10010 and libexslt 703
xsl-stylesheets-1.48-3 installed at /usr/share/sgml/docbook
xsltproc http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl in.xml
I get a couple of problems :
1) <dt xmlns="http://www.w3.org/1999/xhtml"> All tags have xmlns
specified. validator.w3.org does not like this at all. Where does this
come from and how can I fix it ?
2) using chunk.xsl instead of docbook.xsl, I don't get doctype
declarations in the XHTML files. How can I fix it ?
3) using chunk.xsl, the file names are not very readable. This seems to
be because the chunk.xsl at docbook.sf.net does not specify this option :
<xsl:param name="use.id.as.filename" select="1"/>
Is there any reason this is not on by default ?
I do not know XSLT at all, and would like to avoid using
hand-crafted .xsl files I would have to maintain (but it will do
as a solution). Ideally the released files at docbook.sf.net would
not have any of the three problems above (I am sure I am missing some
good reason why these problems exist for me).
As it is, the machine-generated pages are the only part of my
website which don't validate ... can somebody help ?
thanks
john
--
"ken kesey wrote 'one flew over the center of the cuckolded lizard man,
who strayed from his mistakes when he is a madeup word.'"
- Mega HAL