standard.lib.xml.xmlNodeGetLang

xmlNodeGetLang is available since version 1.0.

Prototype:

string xmlNodeGetLang(number cur)

Parameters

cur
the node

Description:

Searches the language of a node. i.e. the values of the xml:lang attribute or the one carried by the nearest ancestor.

Return value:

Return the node language as a string or an empty string if failed.