Eneboo - Documentación para desarrolladores
|
#include <libxml/xmlstring.h>
Ir al código fuente de este archivo.
'defines' | |
#define | XSLT_LOCALE_NONE |
'typedefs' | |
typedef void * | xsltLocale |
typedef xmlChar | xsltLocaleChar |
Funciones | |
xsltLocale | xsltNewLocale (const xmlChar *langName) |
void | xsltFreeLocale (xsltLocale locale) |
xsltLocaleChar * | xsltStrxfrm (xsltLocale locale, const xmlChar *string) |
int | xsltLocaleStrcmp (xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2) |
void | xsltFreeLocales (void) |
#define XSLT_LOCALE_NONE |
typedef void* xsltLocale |
typedef xmlChar xsltLocaleChar |
void xsltFreeLocale | ( | xsltLocale | locale | ) |
xsltFreeLocale: : the locale to free
Frees a locale created with xsltNewLocale
void xsltFreeLocales | ( | void | ) |
xsltFreeLocales:
Cleanup function for the locale support on shutdown
int xsltLocaleStrcmp | ( | xsltLocale | locale, |
const xsltLocaleChar * | str1, | ||
const xsltLocaleChar * | str2 | ||
) |
xsltLocaleStrcmp: : a locale identifier : a string transformed with xsltStrxfrm : a string transformed with xsltStrxfrm
Compares two strings transformed with xsltStrxfrm
Returns a value < 0 if str1 sorts before str2, a value > 0 if str1 sorts after str2, 0 if str1 and str2 are equal wrt sorting
xsltLocale xsltNewLocale | ( | const xmlChar * | languageTag | ) |
xsltNewLocale: : RFC 3066 language tag
Creates a new locale of an opaque system dependent type based on the language tag.
Returns the locale or NULL on error or if no matching locale was found
xsltLocaleChar* xsltStrxfrm | ( | xsltLocale | locale, |
const xmlChar * | string | ||
) |
xsltStrxfrm: : locale created with xsltNewLocale : UTF-8 string to transform
Transforms a string according to locale. The transformed string must then be compared with xsltLocaleStrcmp and freed with xmlFree.
Returns the transformed string or NULL on error