Re: [docbook-apps] Match on Language

From
Frank Arensmeier <>
Date
2016-09-07T17:58:03+00:00
ID
Thread
Re: [docbook-apps] Match on Language
Hi Peter!

I think it would be helpful to know what you are trying to accomplish. Could you be little bit more specific? Are we talking PDF or HTML output? Or some kind of identity transformation? What is the desired output?

Frank Arensmeier

Paligo - The truly user-friendly CMS for technical documentation
paligo.net

> 7 sep 2016 kl. 18:41 skrev Peter Fleck <>:
> 
> Hi all,
> 
> I'm trying to set all elements tagged with a particular language to a font.
> 
> I tried a few combinations of the below but I don't know what I'm doing. Any help appreciated.
> 
> <xsl:template match="d:*[@lang = 'el'] | d:*[@xml:lang = 'el']">
>    <xsl:attribute name="font-family">FontName</xsl:attribute>
> </xsl:template>
> 
> Many thanks,
> 
> Peter
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>