getLang

Description

Get the language of this node. This method returns the value of the xml:lang attribute on this node, or on the first ancestor that has this attribute. If no ancestors have the xml:lang attribute, the function will return the defaultLanguage from the configuration. If no default language was configured, it will finally return null.

Syntax

XopusNode.getLang () : String

Return Value

String. Language code