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: RE: How to get the lang-attribute in a stylesheet?


Hi!

I did it:

1. New variable <xsl:variable name="language" select="/book/@lang"/> at the
beginning oft he stylesheet (under <xsl:output method="html"/>).

2. Creating the filename: <xsl:with-param name="filename"
select="concat($base.dir,'jhelpset_',$language,'.hs')"/>

3. Presentation-attribute: <presentation xml:lang="{$language}"
default="true" displayviews="true" displayviewimages="true">

This systems works!

Thanks to all,
Christian.



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