Altova MapForce 2024 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.

© 2018-2024 Altova GmbH