ReactOS  0.4.14-dev-57-g333b8f1
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 2276 of file extensions.c.

2277 {
2282 
2284  /* cleanup dynamic module hash */
2285  if (NULL != xsltModuleHash) {
2288  xsltModuleHash = NULL;
2289  }
2291 
2293  xsltExtMutex = NULL;
2294  xsltFreeLocales();
2295  xsltUninit();
2296 }
XMLPUBFUN void XMLCALL xmlHashScan(xmlHashTablePtr table, xmlHashScanner f, void *data)
Definition: hash.c:857
XMLPUBFUN void XMLCALL xmlMutexUnlock(xmlMutexPtr tok)
Definition: threads.c:257
XMLPUBFUN void XMLCALL xmlMutexLock(xmlMutexPtr tok)
Definition: threads.c:229
static xmlMutexPtr xsltExtMutex
Definition: extensions.c:72
static void xsltHashScannerModuleFree(void *payload ATTRIBUTE_UNUSED, void *data ATTRIBUTE_UNUSED, const xmlChar *name ATTRIBUTE_UNUSED)
Definition: extensions.c:2248
void xsltUninit(void)
Definition: xslt.c:217
void xsltFreeLocales(void)
Definition: xsltlocale.c:63
XMLPUBFUN void XMLCALL xmlHashFree(xmlHashTablePtr table, xmlHashDeallocator f)
Definition: hash.c:320
static void xsltUnregisterAllExtModules(void)
Definition: extensions.c:1341
smooth NULL
Definition: ftsmooth.c:416
static xmlHashTablePtr xsltModuleHash
Definition: extensions.c:71
static void xsltUnregisterAllExtModuleFunction(void)
Definition: extensions.c:1476
static void xsltUnregisterAllExtModuleTopLevel(void)
Definition: extensions.c:1915
XMLPUBFUN void XMLCALL xmlFreeMutex(xmlMutexPtr tok)
Definition: threads.c:206
static void xsltUnregisterAllExtModuleElement(void)
Definition: extensions.c:1804

◆ 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 }
XMLPUBFUN xmlRMutexPtr XMLCALL xmlNewRMutex(void)
Definition: threads.c:285
void xsltRegisterAllExtras(void)
Definition: extra.c:149
static int initialized
Definition: xslt.c:193

Referenced by xsltNewStylesheet().

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.