xmlNodeGetLang is available since version 1.0.
Prototype:
string xmlNodeGetLang(number cur)
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.