[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]