
lang()
The lang() function tests whether the language of the context node, as identified by the xml:lang attribute is the same as, or is a sublanguage of (e.g. en-us as a sublanguage of en), the language given as an argument.
boolean lang(string)
- A string representing the language being tested.
- If the language matches the language of the context node, true. Otherwise, false.
|
Send comments on this document to
devdoc-feedback@netscape.com |