> -----Original Message-----
> From: Brett Leber
>
> Your XSL works, but I get the following at the top of the file, which
> I'd also like to suppress:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\
>
> How can I do that?
You can't do that using XSLT. The DOCTYPE declaration comes from
<xsl:output> in xhtml/docbook.xsl. There is no way of completely suppressing
it in a customization layer. You can do this:
<xsl:output omit-xml-declaration="yes" doctype-public=""
doctype-system=""/>
But that will still leave
<!DOCTYPE div PUBLIC "" "">
in the output.
/MJ