OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Match on Language


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]