fn:lang

fn:lang(string $testlang) → boolean

Function signature

$testlang

xs:string *

Result

xs:boolean

Returns true if the xml:lang value for the context node matches the given language

XPath 2.0 Specification

The optional second argument (added since the 12 Nov 2003 draft) is not yet implemented.

Expand

Up  Next