[MPlayer-DOCS] r28944 - trunk/DOCS/xml/html-common.xsl

Jindrich Makovicka makovick at gmail.com
Mon Mar 16 23:47:01 CET 2009


On Sat, 14 Mar 2009 13:32:29 +0100 (CET)
reimar <subversion at mplayerhq.hu> wrote:

> Author: reimar
> Date: Sat Mar 14 13:32:28 2009
> New Revision: 28944
> 
> Log:
> Set DOCTYPE in xsl-generated HTML documentation.
> 
> Modified:
>    trunk/DOCS/xml/html-common.xsl
> 
> Modified: trunk/DOCS/xml/html-common.xsl
> ==============================================================================
> --- trunk/DOCS/xml/html-common.xsl	Sat Mar 14 09:11:03
> 2009	(r28943) +++ trunk/DOCS/xml/html-common.xsl	Sat
> Mar 14 13:32:28 2009	(r28944) @@ -2,7 +2,9 @@
>  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                  version="1.0">
>  
> -<xsl:output method="html" indent="no"/>
> +<xsl:output method="html" indent="no"
> +            doctype-system="http://www.w3.org/TR/html4/loose.dtd"
> +            doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
>   
>  <!-- **************
>       Set parameters

This breaks xsltproc, because it requires an output file when DOCTYPE
is specified, and crashes with an "is a directory" error otherwise.

See eg. http://www.mail-archive.com/xslt@gnome.org/msg01014.html

(a bit hackish) fix attached.

-- 
Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xslt.diff
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20090316/1f50296c/attachment.bin>


More information about the MPlayer-DOCS mailing list