Please enable JavaScript to view this site.

Altova MapForce 2021 Professional Edition

Returns true if the context node has an xml:lang attribute with a value that either matches exactly the string argument, or is a subset of it. Otherwise, the function returns false.

mf-func-xslt1-lang

 

Languages

XSLT 1.0.

 

Parameters

Name

Type

Description

string

xs:string

The language code to check, for example, "en".

 

Example

See the example given for the lang function of the xpath2 library.

© 2020 Altova GmbH