[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] AW: [docbook] How to get the lang-attribute in a stylesheet?
> -----Original Message-----
> From: Christian-Josef Schrattenthaler
>
> I tried:
>
> <presentation xml:lang="xsl:value-of select='@lang'"
> default="true" displayviews="true" displayviewimages="true">
>
> But this didn't work.
This should work:
<presentation xml:lang="{/*/@lang}"
default="true" displayviews="true" displayviewimages="true">
assuming that the lang attribute is set on the root element (/*).
Mauritz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]