[xslt] lang() function



Hi all,
I'm fairly new to XSLT, libxslt and this list ;-)

I'm trying to use the lang() function, but it doesn't seem to work:

<xsl:if test="lang('nl')">
  Inhoudsopgave
</xsl:if>

despite the source document has the xml:lang="nl" attribute, this
condition returns false.

Am I doing something wrong?

Thanks,

-- 
Wilbert Berendsen
http://www.xs4all.nl/~wbsoft/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]