Go to the source code of this file.
◆ get_element_lang()
char* get_element_lang |
( |
struct my_parse_data * |
parse_data, |
|
|
const gchar ** |
att_names, |
|
|
const gchar ** |
att_values |
|
) |
| |
Gets the language info for the current xml element.
- Parameters
-
parse_data | Data parsed from the current element |
att_names | Names of attributes |
att_values | Attribute's values |
- Returns
- lang value for xml:lang attribute if value matches current locale
-
"" (empty string) if element has no xml:lang attribute
-
NULL if the lang value does not match the current locale