xmlNodeSetLang is available since version 1.0.
Prototype:
null-returned xmlNodeSetLang(number cur, string lang)
Parameters
cur
the node being modified
lang
the language description
Description:
Set the language of a node. i.e. the values of the xml:lang attribute.
Return value:
Returns nothing.