[MPlayer-DOCS] Re: [PATCH] List container formats and add an example

Guillaume POIRIER poirierg at gmail.com
Thu Oct 13 21:07:44 CEST 2005


Hi,

On 10/13/05, Ivo <ivop at euronet.nl> wrote:
> On Thursday 13 October 2005 01:25, Guillaume POIRIER wrote:
> > I have no idea whatsoever how to do this. Maybe just looking at
> > html-common.xsl will make me see "The bright light", but until then...
> > ;-)
>
> It goes something like this:
>
>   <xsl:template match="screenwoeol">
>     <span class="screenwoeol"><xsl:apply-templates/></span>
>   </xsl:template>
>
> After that, you can set its properties in default.css:
>
> span.screenwoeol {
>         background: #e0e0e0;
>         font-family: monospace;
> }
>
> HTH :-)

Nope. I get this error:

make[1]: entrant dans le répertoire « /home/guillaume/main/DOCS/xml/en »
rm -f ../../HTML/en/*
../xmllint.sh main.xml
main.xml:20: element para: validity error : Element screenwoeol is not
declared in para list of possible children
main.xml:24: element screenwoeol: validity error : No declaration for
element screenwoeol
main.xml:113: element para: validity error : Element screenwoeol is
not declared in para list of possible children
main.xml:117: element screenwoeol: validity error : No declaration for
element screenwoeol
Document main.xml does not validate

Could it be that the DTD of Docbook can't be tuned?

Guillaume
--
Reading doesn't hurt, really!
 -- Dominik 'Rathann' Mierzejewski




More information about the MPlayer-DOCS mailing list