ReactOS 0.4.16-dev-340-g0540c21
xslt.h File Reference
#include <libxml/tree.h>
#include "xsltexports.h"
Include dependency graph for xslt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XSLT_DEFAULT_VERSION   "1.0"
 
#define XSLT_DEFAULT_VENDOR   "libxslt"
 
#define XSLT_DEFAULT_URL   "http://xmlsoft.org/XSLT/"
 
#define XSLT_NAMESPACE   ((const xmlChar *)"http://www.w3.org/1999/XSL/Transform")
 
#define XSLT_PARSE_OPTIONS    XML_PARSE_NOENT | XML_PARSE_DTDLOAD | XML_PARSE_DTDATTR | XML_PARSE_NOCDATA
 

Functions

XSLTPUBFUN void XSLTCALL xsltInit (void)
 
XSLTPUBFUN void XSLTCALL xsltCleanupGlobals (void)
 

Variables

XSLTPUBVAR int xsltMaxDepth
 
XSLTPUBVAR int xsltMaxVars
 
XSLTPUBVAR const charxsltEngineVersion
 
XSLTPUBVAR const int xsltLibxsltVersion
 
XSLTPUBVAR const int xsltLibxmlVersion
 

Macro Definition Documentation

◆ XSLT_DEFAULT_URL

#define XSLT_DEFAULT_URL   "http://xmlsoft.org/XSLT/"

XSLT_DEFAULT_URL:

The XSLT "vendor" URL for this processor.

Definition at line 39 of file xslt.h.

◆ XSLT_DEFAULT_VENDOR

#define XSLT_DEFAULT_VENDOR   "libxslt"

XSLT_DEFAULT_VENDOR:

The XSLT "vendor" string for this processor.

Definition at line 32 of file xslt.h.

◆ XSLT_DEFAULT_VERSION

#define XSLT_DEFAULT_VERSION   "1.0"

XSLT_DEFAULT_VERSION:

The default version of XSLT supported.

Definition at line 25 of file xslt.h.

◆ XSLT_NAMESPACE

#define XSLT_NAMESPACE   ((const xmlChar *)"http://www.w3.org/1999/XSL/Transform")

XSLT_NAMESPACE:

The XSLT specification namespace.

Definition at line 46 of file xslt.h.

◆ XSLT_PARSE_OPTIONS

XSLT_PARSE_OPTIONS:

The set of options to pass to an xmlReadxxx when loading files for XSLT consumption.

Definition at line 54 of file xslt.h.

Function Documentation

◆ xsltCleanupGlobals()

XSLTPUBFUN void XSLTCALL xsltCleanupGlobals ( void  )

xsltCleanupGlobals:

Unregister all global variables set up by the XSLT library

Definition at line 2270 of file extensions.c.

2271{
2276
2278 /* cleanup dynamic module hash */
2279 if (NULL != xsltModuleHash) {
2283 }
2285
2289 xsltUninit();
2290}
static xmlHashTablePtr xsltModuleHash
Definition: extensions.c:71
static xmlMutexPtr xsltExtMutex
Definition: extensions.c:72
static void xsltUnregisterAllExtModuleElement(void)
Definition: extensions.c:1804
static void xsltUnregisterAllExtModules(void)
Definition: extensions.c:1341
static void xsltUnregisterAllExtModuleFunction(void)
Definition: extensions.c:1476
static void xsltUnregisterAllExtModuleTopLevel(void)
Definition: extensions.c:1915
static void xsltHashScannerModuleFree(void *payload ATTRIBUTE_UNUSED, void *data ATTRIBUTE_UNUSED, const xmlChar *name ATTRIBUTE_UNUSED)
Definition: extensions.c:2242
#define NULL
Definition: types.h:112
XMLPUBFUN void XMLCALL xmlHashFree(xmlHashTablePtr table, xmlHashDeallocator f)
Definition: hash.c:322
XMLPUBFUN void XMLCALL xmlHashScan(xmlHashTablePtr table, xmlHashScanner f, void *data)
Definition: hash.c:859
XMLPUBFUN void XMLCALL xmlMutexUnlock(xmlMutexPtr tok)
Definition: threads.c:248
XMLPUBFUN void XMLCALL xmlFreeMutex(xmlMutexPtr tok)
Definition: threads.c:197
XMLPUBFUN void XMLCALL xmlMutexLock(xmlMutexPtr tok)
Definition: threads.c:220
void xsltUninit(void)
Definition: xslt.c:217
void xsltFreeLocales(void)
Definition: xsltlocale.c:63

◆ xsltInit()

XSLTPUBFUN void XSLTCALL xsltInit ( void  )

xsltInit:

Initializes the processor (e.g. registers built-in extensions, etc.)

Definition at line 201 of file xslt.c.

201 {
202 if (initialized == 0) {
203 initialized = 1;
204#ifdef XSLT_LOCALE_WINAPI
205 xsltLocaleMutex = xmlNewRMutex();
206#endif
208 }
209}
void xsltRegisterAllExtras(void)
Definition: extra.c:149
XMLPUBFUN xmlRMutexPtr XMLCALL xmlNewRMutex(void)
Definition: threads.c:276
static int initialized
Definition: xslt.c:193

Referenced by xsltNewStylesheetInternal().

Variable Documentation

◆ xsltEngineVersion

XSLTPUBVAR const char* xsltEngineVersion

xsltEngineVersion:

The version string for libxslt.

Definition at line 76 of file xslt.h.

◆ xsltLibxmlVersion

XSLTPUBVAR const int xsltLibxmlVersion

xsltLibxmlVersion:

The version of libxml libxslt was compiled against.

Definition at line 90 of file xslt.h.

◆ xsltLibxsltVersion

XSLTPUBVAR const int xsltLibxsltVersion

xsltLibxsltVersion:

The version of libxslt compiled.

Definition at line 83 of file xslt.h.

◆ xsltMaxDepth

XSLTPUBVAR int xsltMaxDepth

xsltMaxDepth:

This value is used to detect templates loops.

Definition at line 62 of file xslt.h.

◆ xsltMaxVars

XSLTPUBVAR int xsltMaxVars
  • xsltMaxVars:
      • This value is used to detect templates loops.

Definition at line 69 of file xslt.h.