This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] getting rid of !DOCTYPE in chunks
- From: Gabor Hojtsy <gabor at hojtsy dot hu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 21 Apr 2003 21:53:56 +0200
- Subject: [docbook-apps] getting rid of !DOCTYPE in chunks
Hi!
I would *not* like to get a html !DOCTYPE at the top of chunks created
by the HTML stylesheets, as my chunks are going to be PHP files
outputting HTTP headers, and then a !DOCTYPE on their own. I supposed
that if I provide empty values for the two chunking and doctype related
params, then I won't get any doctype, however I get...
Trying with these params:
<xsl:param name="chunker.output.doctype-public" select="''"/>
<xsl:param name="chunker.output.doctype-system" select="''"/>
I get a standard doctype (on one line):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Using this:
<xsl:param name="chunker.output.doctype-public" select="'foo'"/>
<xsl:param name="chunker.output.doctype-system" select="'bar'"/>
I get this:
<!DOCTYPE HTML PUBLIC "foo" "bar">
This means that my params are honored, so they are not overloaded by
some other stuff I guess... And as I see in chunker.xsl if these params
are empty, then the chunks should not be generated with !DOCTYPE
headers. Therefore I don't know what is the problem...
BTW I am using the latest xsltproc/libxml2:
| Using libxml 20506, libxslt 10029 and libexslt 719
| xsltproc was compiled against libxml 20506, libxslt 10029
| and libexslt 719
| libxslt 10029 was compiled against libxml 20506
| libexslt 719 was compiled against libxml 20506
Thanks for any help,
Goba
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org