Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/libxslt
File: xsltInternals.h
/*
[0] Fix | Delete
* Summary: internal data structures, constants and functions
[1] Fix | Delete
* Description: Internal data structures, constants and functions used
[2] Fix | Delete
* by the XSLT engine.
[3] Fix | Delete
* They are not part of the API or ABI, i.e. they can change
[4] Fix | Delete
* without prior notice, use carefully.
[5] Fix | Delete
*
[6] Fix | Delete
* Copy: See Copyright for the status of this software.
[7] Fix | Delete
*
[8] Fix | Delete
* Author: Daniel Veillard
[9] Fix | Delete
*/
[10] Fix | Delete
[11] Fix | Delete
#ifndef __XML_XSLT_INTERNALS_H__
[12] Fix | Delete
#define __XML_XSLT_INTERNALS_H__
[13] Fix | Delete
[14] Fix | Delete
#include <libxml/tree.h>
[15] Fix | Delete
#include <libxml/hash.h>
[16] Fix | Delete
#include <libxml/xpath.h>
[17] Fix | Delete
#include <libxml/xmlerror.h>
[18] Fix | Delete
#include <libxml/dict.h>
[19] Fix | Delete
#include <libxml/xmlstring.h>
[20] Fix | Delete
#include <libxslt/xslt.h>
[21] Fix | Delete
#include "xsltexports.h"
[22] Fix | Delete
#include "xsltlocale.h"
[23] Fix | Delete
#include "numbersInternals.h"
[24] Fix | Delete
[25] Fix | Delete
#ifdef __cplusplus
[26] Fix | Delete
extern "C" {
[27] Fix | Delete
#endif
[28] Fix | Delete
[29] Fix | Delete
/* #define XSLT_DEBUG_PROFILE_CACHE */
[30] Fix | Delete
[31] Fix | Delete
/**
[32] Fix | Delete
* XSLT_IS_TEXT_NODE:
[33] Fix | Delete
*
[34] Fix | Delete
* check if the argument is a text node
[35] Fix | Delete
*/
[36] Fix | Delete
#define XSLT_IS_TEXT_NODE(n) ((n != NULL) && \
[37] Fix | Delete
(((n)->type == XML_TEXT_NODE) || \
[38] Fix | Delete
((n)->type == XML_CDATA_SECTION_NODE)))
[39] Fix | Delete
[40] Fix | Delete
[41] Fix | Delete
/**
[42] Fix | Delete
* XSLT_MARK_RES_TREE_FRAG:
[43] Fix | Delete
*
[44] Fix | Delete
* internal macro to set up tree fragments
[45] Fix | Delete
*/
[46] Fix | Delete
#define XSLT_MARK_RES_TREE_FRAG(n) \
[47] Fix | Delete
(n)->name = (char *) xmlStrdup(BAD_CAST " fake node libxslt");
[48] Fix | Delete
[49] Fix | Delete
/**
[50] Fix | Delete
* XSLT_IS_RES_TREE_FRAG:
[51] Fix | Delete
*
[52] Fix | Delete
* internal macro to test tree fragments
[53] Fix | Delete
*/
[54] Fix | Delete
#define XSLT_IS_RES_TREE_FRAG(n) \
[55] Fix | Delete
((n != NULL) && ((n)->type == XML_DOCUMENT_NODE) && \
[56] Fix | Delete
((n)->name != NULL) && ((n)->name[0] == ' '))
[57] Fix | Delete
[58] Fix | Delete
/**
[59] Fix | Delete
* XSLT_REFACTORED_KEYCOMP:
[60] Fix | Delete
*
[61] Fix | Delete
* Internal define to enable on-demand xsl:key computation.
[62] Fix | Delete
* That's the only mode now but the define is kept for compatibility
[63] Fix | Delete
*/
[64] Fix | Delete
#define XSLT_REFACTORED_KEYCOMP
[65] Fix | Delete
[66] Fix | Delete
/**
[67] Fix | Delete
* XSLT_FAST_IF:
[68] Fix | Delete
*
[69] Fix | Delete
* Internal define to enable usage of xmlXPathCompiledEvalToBoolean()
[70] Fix | Delete
* for XSLT "tests"; e.g. in <xsl:if test="/foo/bar">
[71] Fix | Delete
*/
[72] Fix | Delete
#define XSLT_FAST_IF
[73] Fix | Delete
[74] Fix | Delete
/**
[75] Fix | Delete
* XSLT_REFACTORED:
[76] Fix | Delete
*
[77] Fix | Delete
* Internal define to enable the refactored parts of Libxslt.
[78] Fix | Delete
*/
[79] Fix | Delete
/* #define XSLT_REFACTORED */
[80] Fix | Delete
/* ==================================================================== */
[81] Fix | Delete
[82] Fix | Delete
/**
[83] Fix | Delete
* XSLT_REFACTORED_VARS:
[84] Fix | Delete
*
[85] Fix | Delete
* Internal define to enable the refactored variable part of libxslt
[86] Fix | Delete
*/
[87] Fix | Delete
#define XSLT_REFACTORED_VARS
[88] Fix | Delete
[89] Fix | Delete
#ifdef XSLT_REFACTORED
[90] Fix | Delete
[91] Fix | Delete
extern const xmlChar *xsltXSLTAttrMarker;
[92] Fix | Delete
[93] Fix | Delete
[94] Fix | Delete
/* TODO: REMOVE: #define XSLT_REFACTORED_EXCLRESNS */
[95] Fix | Delete
[96] Fix | Delete
/* TODO: REMOVE: #define XSLT_REFACTORED_NSALIAS */
[97] Fix | Delete
[98] Fix | Delete
/**
[99] Fix | Delete
* XSLT_REFACTORED_XSLT_NSCOMP
[100] Fix | Delete
*
[101] Fix | Delete
* Internal define to enable the pointer-comparison of
[102] Fix | Delete
* namespaces of XSLT elements.
[103] Fix | Delete
*/
[104] Fix | Delete
/* #define XSLT_REFACTORED_XSLT_NSCOMP */
[105] Fix | Delete
[106] Fix | Delete
/**
[107] Fix | Delete
* XSLT_REFACTORED_XPATHCOMP:
[108] Fix | Delete
*
[109] Fix | Delete
* Internal define to enable the optimization of the
[110] Fix | Delete
* compilation of XPath expressions.
[111] Fix | Delete
*/
[112] Fix | Delete
#define XSLT_REFACTORED_XPATHCOMP
[113] Fix | Delete
[114] Fix | Delete
#ifdef XSLT_REFACTORED_XSLT_NSCOMP
[115] Fix | Delete
[116] Fix | Delete
extern const xmlChar *xsltConstNamespaceNameXSLT;
[117] Fix | Delete
[118] Fix | Delete
/**
[119] Fix | Delete
* IS_XSLT_ELEM_FAST:
[120] Fix | Delete
*
[121] Fix | Delete
* quick test to detect XSLT elements
[122] Fix | Delete
*/
[123] Fix | Delete
#define IS_XSLT_ELEM_FAST(n) \
[124] Fix | Delete
(((n) != NULL) && ((n)->ns != NULL) && \
[125] Fix | Delete
((n)->ns->href == xsltConstNamespaceNameXSLT))
[126] Fix | Delete
[127] Fix | Delete
/**
[128] Fix | Delete
* IS_XSLT_ATTR_FAST:
[129] Fix | Delete
*
[130] Fix | Delete
* quick test to detect XSLT attributes
[131] Fix | Delete
*/
[132] Fix | Delete
#define IS_XSLT_ATTR_FAST(a) \
[133] Fix | Delete
(((a) != NULL) && ((a)->ns != NULL) && \
[134] Fix | Delete
((a)->ns->href == xsltConstNamespaceNameXSLT))
[135] Fix | Delete
[136] Fix | Delete
/**
[137] Fix | Delete
* XSLT_HAS_INTERNAL_NSMAP:
[138] Fix | Delete
*
[139] Fix | Delete
* check for namespace mapping
[140] Fix | Delete
*/
[141] Fix | Delete
#define XSLT_HAS_INTERNAL_NSMAP(s) \
[142] Fix | Delete
(((s) != NULL) && ((s)->principal) && \
[143] Fix | Delete
((s)->principal->principalData) && \
[144] Fix | Delete
((s)->principal->principalData->nsMap))
[145] Fix | Delete
[146] Fix | Delete
/**
[147] Fix | Delete
* XSLT_GET_INTERNAL_NSMAP:
[148] Fix | Delete
*
[149] Fix | Delete
* get pointer to namespace map
[150] Fix | Delete
*/
[151] Fix | Delete
#define XSLT_GET_INTERNAL_NSMAP(s) ((s)->principal->principalData->nsMap)
[152] Fix | Delete
[153] Fix | Delete
#else /* XSLT_REFACTORED_XSLT_NSCOMP */
[154] Fix | Delete
[155] Fix | Delete
/**
[156] Fix | Delete
* IS_XSLT_ELEM_FAST:
[157] Fix | Delete
*
[158] Fix | Delete
* quick check whether this is an xslt element
[159] Fix | Delete
*/
[160] Fix | Delete
#define IS_XSLT_ELEM_FAST(n) \
[161] Fix | Delete
(((n) != NULL) && ((n)->ns != NULL) && \
[162] Fix | Delete
(xmlStrEqual((n)->ns->href, XSLT_NAMESPACE)))
[163] Fix | Delete
[164] Fix | Delete
/**
[165] Fix | Delete
* IS_XSLT_ATTR_FAST:
[166] Fix | Delete
*
[167] Fix | Delete
* quick check for xslt namespace attribute
[168] Fix | Delete
*/
[169] Fix | Delete
#define IS_XSLT_ATTR_FAST(a) \
[170] Fix | Delete
(((a) != NULL) && ((a)->ns != NULL) && \
[171] Fix | Delete
(xmlStrEqual((a)->ns->href, XSLT_NAMESPACE)))
[172] Fix | Delete
[173] Fix | Delete
[174] Fix | Delete
#endif /* XSLT_REFACTORED_XSLT_NSCOMP */
[175] Fix | Delete
[176] Fix | Delete
[177] Fix | Delete
/**
[178] Fix | Delete
* XSLT_REFACTORED_MANDATORY_VERSION:
[179] Fix | Delete
*
[180] Fix | Delete
* TODO: Currently disabled to surpress regression test failures, since
[181] Fix | Delete
* the old behaviour was that a missing version attribute
[182] Fix | Delete
* produced a only a warning and not an error, which was incerrect.
[183] Fix | Delete
* So the regression tests need to be fixed if this is enabled.
[184] Fix | Delete
*/
[185] Fix | Delete
/* #define XSLT_REFACTORED_MANDATORY_VERSION */
[186] Fix | Delete
[187] Fix | Delete
/**
[188] Fix | Delete
* xsltPointerList:
[189] Fix | Delete
*
[190] Fix | Delete
* Pointer-list for various purposes.
[191] Fix | Delete
*/
[192] Fix | Delete
typedef struct _xsltPointerList xsltPointerList;
[193] Fix | Delete
typedef xsltPointerList *xsltPointerListPtr;
[194] Fix | Delete
struct _xsltPointerList {
[195] Fix | Delete
void **items;
[196] Fix | Delete
int number;
[197] Fix | Delete
int size;
[198] Fix | Delete
};
[199] Fix | Delete
[200] Fix | Delete
#endif
[201] Fix | Delete
[202] Fix | Delete
/**
[203] Fix | Delete
* XSLT_REFACTORED_PARSING:
[204] Fix | Delete
*
[205] Fix | Delete
* Internal define to enable the refactored parts of Libxslt
[206] Fix | Delete
* related to parsing.
[207] Fix | Delete
*/
[208] Fix | Delete
/* #define XSLT_REFACTORED_PARSING */
[209] Fix | Delete
[210] Fix | Delete
/**
[211] Fix | Delete
* XSLT_MAX_SORT:
[212] Fix | Delete
*
[213] Fix | Delete
* Max number of specified xsl:sort on an element.
[214] Fix | Delete
*/
[215] Fix | Delete
#define XSLT_MAX_SORT 15
[216] Fix | Delete
[217] Fix | Delete
/**
[218] Fix | Delete
* XSLT_PAT_NO_PRIORITY:
[219] Fix | Delete
*
[220] Fix | Delete
* Specific value for pattern without priority expressed.
[221] Fix | Delete
*/
[222] Fix | Delete
#define XSLT_PAT_NO_PRIORITY -12345789
[223] Fix | Delete
[224] Fix | Delete
/**
[225] Fix | Delete
* xsltRuntimeExtra:
[226] Fix | Delete
*
[227] Fix | Delete
* Extra information added to the transformation context.
[228] Fix | Delete
*/
[229] Fix | Delete
typedef struct _xsltRuntimeExtra xsltRuntimeExtra;
[230] Fix | Delete
typedef xsltRuntimeExtra *xsltRuntimeExtraPtr;
[231] Fix | Delete
struct _xsltRuntimeExtra {
[232] Fix | Delete
void *info; /* pointer to the extra data */
[233] Fix | Delete
xmlFreeFunc deallocate; /* pointer to the deallocation routine */
[234] Fix | Delete
union { /* dual-purpose field */
[235] Fix | Delete
void *ptr; /* data not needing deallocation */
[236] Fix | Delete
int ival; /* integer value storage */
[237] Fix | Delete
} val;
[238] Fix | Delete
};
[239] Fix | Delete
[240] Fix | Delete
/**
[241] Fix | Delete
* XSLT_RUNTIME_EXTRA_LST:
[242] Fix | Delete
* @ctxt: the transformation context
[243] Fix | Delete
* @nr: the index
[244] Fix | Delete
*
[245] Fix | Delete
* Macro used to access extra information stored in the context
[246] Fix | Delete
*/
[247] Fix | Delete
#define XSLT_RUNTIME_EXTRA_LST(ctxt, nr) (ctxt)->extras[(nr)].info
[248] Fix | Delete
/**
[249] Fix | Delete
* XSLT_RUNTIME_EXTRA_FREE:
[250] Fix | Delete
* @ctxt: the transformation context
[251] Fix | Delete
* @nr: the index
[252] Fix | Delete
*
[253] Fix | Delete
* Macro used to free extra information stored in the context
[254] Fix | Delete
*/
[255] Fix | Delete
#define XSLT_RUNTIME_EXTRA_FREE(ctxt, nr) (ctxt)->extras[(nr)].deallocate
[256] Fix | Delete
/**
[257] Fix | Delete
* XSLT_RUNTIME_EXTRA:
[258] Fix | Delete
* @ctxt: the transformation context
[259] Fix | Delete
* @nr: the index
[260] Fix | Delete
*
[261] Fix | Delete
* Macro used to define extra information stored in the context
[262] Fix | Delete
*/
[263] Fix | Delete
#define XSLT_RUNTIME_EXTRA(ctxt, nr, typ) (ctxt)->extras[(nr)].val.typ
[264] Fix | Delete
[265] Fix | Delete
/**
[266] Fix | Delete
* xsltTemplate:
[267] Fix | Delete
*
[268] Fix | Delete
* The in-memory structure corresponding to an XSLT Template.
[269] Fix | Delete
*/
[270] Fix | Delete
typedef struct _xsltTemplate xsltTemplate;
[271] Fix | Delete
typedef xsltTemplate *xsltTemplatePtr;
[272] Fix | Delete
struct _xsltTemplate {
[273] Fix | Delete
struct _xsltTemplate *next;/* chained list sorted by priority */
[274] Fix | Delete
struct _xsltStylesheet *style;/* the containing stylesheet */
[275] Fix | Delete
xmlChar *match; /* the matching string */
[276] Fix | Delete
float priority; /* as given from the stylesheet, not computed */
[277] Fix | Delete
const xmlChar *name; /* the local part of the name QName */
[278] Fix | Delete
const xmlChar *nameURI; /* the URI part of the name QName */
[279] Fix | Delete
const xmlChar *mode;/* the local part of the mode QName */
[280] Fix | Delete
const xmlChar *modeURI;/* the URI part of the mode QName */
[281] Fix | Delete
xmlNodePtr content; /* the template replacement value */
[282] Fix | Delete
xmlNodePtr elem; /* the source element */
[283] Fix | Delete
[284] Fix | Delete
/*
[285] Fix | Delete
* TODO: @inheritedNsNr and @inheritedNs won't be used in the
[286] Fix | Delete
* refactored code.
[287] Fix | Delete
*/
[288] Fix | Delete
int inheritedNsNr; /* number of inherited namespaces */
[289] Fix | Delete
xmlNsPtr *inheritedNs;/* inherited non-excluded namespaces */
[290] Fix | Delete
[291] Fix | Delete
/* Profiling informations */
[292] Fix | Delete
int nbCalls; /* the number of time the template was called */
[293] Fix | Delete
unsigned long time; /* the time spent in this template */
[294] Fix | Delete
void *params; /* xsl:param instructions */
[295] Fix | Delete
[296] Fix | Delete
int templNr; /* Nb of templates in the stack */
[297] Fix | Delete
int templMax; /* Size of the templtes stack */
[298] Fix | Delete
xsltTemplatePtr *templCalledTab; /* templates called */
[299] Fix | Delete
int *templCountTab; /* .. and how often */
[300] Fix | Delete
};
[301] Fix | Delete
[302] Fix | Delete
/**
[303] Fix | Delete
* xsltDecimalFormat:
[304] Fix | Delete
*
[305] Fix | Delete
* Data structure of decimal-format.
[306] Fix | Delete
*/
[307] Fix | Delete
typedef struct _xsltDecimalFormat xsltDecimalFormat;
[308] Fix | Delete
typedef xsltDecimalFormat *xsltDecimalFormatPtr;
[309] Fix | Delete
struct _xsltDecimalFormat {
[310] Fix | Delete
struct _xsltDecimalFormat *next; /* chained list */
[311] Fix | Delete
xmlChar *name;
[312] Fix | Delete
/* Used for interpretation of pattern */
[313] Fix | Delete
xmlChar *digit;
[314] Fix | Delete
xmlChar *patternSeparator;
[315] Fix | Delete
/* May appear in result */
[316] Fix | Delete
xmlChar *minusSign;
[317] Fix | Delete
xmlChar *infinity;
[318] Fix | Delete
xmlChar *noNumber; /* Not-a-number */
[319] Fix | Delete
/* Used for interpretation of pattern and may appear in result */
[320] Fix | Delete
xmlChar *decimalPoint;
[321] Fix | Delete
xmlChar *grouping;
[322] Fix | Delete
xmlChar *percent;
[323] Fix | Delete
xmlChar *permille;
[324] Fix | Delete
xmlChar *zeroDigit;
[325] Fix | Delete
const xmlChar *nsUri;
[326] Fix | Delete
};
[327] Fix | Delete
[328] Fix | Delete
/**
[329] Fix | Delete
* xsltDocument:
[330] Fix | Delete
*
[331] Fix | Delete
* Data structure associated to a parsed document.
[332] Fix | Delete
*/
[333] Fix | Delete
typedef struct _xsltDocument xsltDocument;
[334] Fix | Delete
typedef xsltDocument *xsltDocumentPtr;
[335] Fix | Delete
struct _xsltDocument {
[336] Fix | Delete
struct _xsltDocument *next; /* documents are kept in a chained list */
[337] Fix | Delete
int main; /* is this the main document */
[338] Fix | Delete
xmlDocPtr doc; /* the parsed document */
[339] Fix | Delete
void *keys; /* key tables storage */
[340] Fix | Delete
struct _xsltDocument *includes; /* subsidiary includes */
[341] Fix | Delete
int preproc; /* pre-processing already done */
[342] Fix | Delete
int nbKeysComputed;
[343] Fix | Delete
};
[344] Fix | Delete
[345] Fix | Delete
/**
[346] Fix | Delete
* xsltKeyDef:
[347] Fix | Delete
*
[348] Fix | Delete
* Representation of an xsl:key.
[349] Fix | Delete
*/
[350] Fix | Delete
typedef struct _xsltKeyDef xsltKeyDef;
[351] Fix | Delete
typedef xsltKeyDef *xsltKeyDefPtr;
[352] Fix | Delete
struct _xsltKeyDef {
[353] Fix | Delete
struct _xsltKeyDef *next;
[354] Fix | Delete
xmlNodePtr inst;
[355] Fix | Delete
xmlChar *name;
[356] Fix | Delete
xmlChar *nameURI;
[357] Fix | Delete
xmlChar *match;
[358] Fix | Delete
xmlChar *use;
[359] Fix | Delete
xmlXPathCompExprPtr comp;
[360] Fix | Delete
xmlXPathCompExprPtr usecomp;
[361] Fix | Delete
xmlNsPtr *nsList; /* the namespaces in scope */
[362] Fix | Delete
int nsNr; /* the number of namespaces in scope */
[363] Fix | Delete
};
[364] Fix | Delete
[365] Fix | Delete
/**
[366] Fix | Delete
* xsltKeyTable:
[367] Fix | Delete
*
[368] Fix | Delete
* Holds the computed keys for key definitions of the same QName.
[369] Fix | Delete
* Is owned by an xsltDocument.
[370] Fix | Delete
*/
[371] Fix | Delete
typedef struct _xsltKeyTable xsltKeyTable;
[372] Fix | Delete
typedef xsltKeyTable *xsltKeyTablePtr;
[373] Fix | Delete
struct _xsltKeyTable {
[374] Fix | Delete
struct _xsltKeyTable *next;
[375] Fix | Delete
xmlChar *name;
[376] Fix | Delete
xmlChar *nameURI;
[377] Fix | Delete
xmlHashTablePtr keys;
[378] Fix | Delete
};
[379] Fix | Delete
[380] Fix | Delete
/*
[381] Fix | Delete
* The in-memory structure corresponding to an XSLT Stylesheet.
[382] Fix | Delete
* NOTE: most of the content is simply linked from the doc tree
[383] Fix | Delete
* structure, no specific allocation is made.
[384] Fix | Delete
*/
[385] Fix | Delete
typedef struct _xsltStylesheet xsltStylesheet;
[386] Fix | Delete
typedef xsltStylesheet *xsltStylesheetPtr;
[387] Fix | Delete
[388] Fix | Delete
typedef struct _xsltTransformContext xsltTransformContext;
[389] Fix | Delete
typedef xsltTransformContext *xsltTransformContextPtr;
[390] Fix | Delete
[391] Fix | Delete
/**
[392] Fix | Delete
* xsltElemPreComp:
[393] Fix | Delete
*
[394] Fix | Delete
* The in-memory structure corresponding to element precomputed data,
[395] Fix | Delete
* designed to be extended by extension implementors.
[396] Fix | Delete
*/
[397] Fix | Delete
typedef struct _xsltElemPreComp xsltElemPreComp;
[398] Fix | Delete
typedef xsltElemPreComp *xsltElemPreCompPtr;
[399] Fix | Delete
[400] Fix | Delete
/**
[401] Fix | Delete
* xsltTransformFunction:
[402] Fix | Delete
* @ctxt: the XSLT transformation context
[403] Fix | Delete
* @node: the input node
[404] Fix | Delete
* @inst: the stylesheet node
[405] Fix | Delete
* @comp: the compiled information from the stylesheet
[406] Fix | Delete
*
[407] Fix | Delete
* Signature of the function associated to elements part of the
[408] Fix | Delete
* stylesheet language like xsl:if or xsl:apply-templates.
[409] Fix | Delete
*/
[410] Fix | Delete
typedef void (*xsltTransformFunction) (xsltTransformContextPtr ctxt,
[411] Fix | Delete
xmlNodePtr node,
[412] Fix | Delete
xmlNodePtr inst,
[413] Fix | Delete
xsltElemPreCompPtr comp);
[414] Fix | Delete
[415] Fix | Delete
/**
[416] Fix | Delete
* xsltSortFunc:
[417] Fix | Delete
* @ctxt: a transformation context
[418] Fix | Delete
* @sorts: the node-set to sort
[419] Fix | Delete
* @nbsorts: the number of sorts
[420] Fix | Delete
*
[421] Fix | Delete
* Signature of the function to use during sorting
[422] Fix | Delete
*/
[423] Fix | Delete
typedef void (*xsltSortFunc) (xsltTransformContextPtr ctxt, xmlNodePtr *sorts,
[424] Fix | Delete
int nbsorts);
[425] Fix | Delete
[426] Fix | Delete
typedef enum {
[427] Fix | Delete
XSLT_FUNC_COPY=1,
[428] Fix | Delete
XSLT_FUNC_SORT,
[429] Fix | Delete
XSLT_FUNC_TEXT,
[430] Fix | Delete
XSLT_FUNC_ELEMENT,
[431] Fix | Delete
XSLT_FUNC_ATTRIBUTE,
[432] Fix | Delete
XSLT_FUNC_COMMENT,
[433] Fix | Delete
XSLT_FUNC_PI,
[434] Fix | Delete
XSLT_FUNC_COPYOF,
[435] Fix | Delete
XSLT_FUNC_VALUEOF,
[436] Fix | Delete
XSLT_FUNC_NUMBER,
[437] Fix | Delete
XSLT_FUNC_APPLYIMPORTS,
[438] Fix | Delete
XSLT_FUNC_CALLTEMPLATE,
[439] Fix | Delete
XSLT_FUNC_APPLYTEMPLATES,
[440] Fix | Delete
XSLT_FUNC_CHOOSE,
[441] Fix | Delete
XSLT_FUNC_IF,
[442] Fix | Delete
XSLT_FUNC_FOREACH,
[443] Fix | Delete
XSLT_FUNC_DOCUMENT,
[444] Fix | Delete
XSLT_FUNC_WITHPARAM,
[445] Fix | Delete
XSLT_FUNC_PARAM,
[446] Fix | Delete
XSLT_FUNC_VARIABLE,
[447] Fix | Delete
XSLT_FUNC_WHEN,
[448] Fix | Delete
XSLT_FUNC_EXTENSION
[449] Fix | Delete
#ifdef XSLT_REFACTORED
[450] Fix | Delete
,
[451] Fix | Delete
XSLT_FUNC_OTHERWISE,
[452] Fix | Delete
XSLT_FUNC_FALLBACK,
[453] Fix | Delete
XSLT_FUNC_MESSAGE,
[454] Fix | Delete
XSLT_FUNC_INCLUDE,
[455] Fix | Delete
XSLT_FUNC_ATTRSET,
[456] Fix | Delete
XSLT_FUNC_LITERAL_RESULT_ELEMENT,
[457] Fix | Delete
XSLT_FUNC_UNKOWN_FORWARDS_COMPAT
[458] Fix | Delete
#endif
[459] Fix | Delete
} xsltStyleType;
[460] Fix | Delete
[461] Fix | Delete
/**
[462] Fix | Delete
* xsltElemPreCompDeallocator:
[463] Fix | Delete
* @comp: the #xsltElemPreComp to free up
[464] Fix | Delete
*
[465] Fix | Delete
* Deallocates an #xsltElemPreComp structure.
[466] Fix | Delete
*/
[467] Fix | Delete
typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp);
[468] Fix | Delete
[469] Fix | Delete
/**
[470] Fix | Delete
* xsltElemPreComp:
[471] Fix | Delete
*
[472] Fix | Delete
* The basic structure for compiled items of the AST of the XSLT processor.
[473] Fix | Delete
* This structure is also intended to be extended by extension implementors.
[474] Fix | Delete
* TODO: This is somehow not nice, since it has a "free" field, which
[475] Fix | Delete
* derived stylesheet-structs do not have.
[476] Fix | Delete
*/
[477] Fix | Delete
struct _xsltElemPreComp {
[478] Fix | Delete
xsltElemPreCompPtr next; /* next item in the global chained
[479] Fix | Delete
list hold by xsltStylesheet. */
[480] Fix | Delete
xsltStyleType type; /* type of the element */
[481] Fix | Delete
xsltTransformFunction func; /* handling function */
[482] Fix | Delete
xmlNodePtr inst; /* the node in the stylesheet's tree
[483] Fix | Delete
corresponding to this item */
[484] Fix | Delete
[485] Fix | Delete
/* end of common part */
[486] Fix | Delete
xsltElemPreCompDeallocator free; /* the deallocator */
[487] Fix | Delete
};
[488] Fix | Delete
[489] Fix | Delete
/**
[490] Fix | Delete
* xsltStylePreComp:
[491] Fix | Delete
*
[492] Fix | Delete
* The abstract basic structure for items of the XSLT processor.
[493] Fix | Delete
* This includes:
[494] Fix | Delete
* 1) compiled forms of XSLT instructions (xsl:if, xsl:attribute, etc.)
[495] Fix | Delete
* 2) compiled forms of literal result elements
[496] Fix | Delete
* 3) compiled forms of extension elements
[497] Fix | Delete
*/
[498] Fix | Delete
typedef struct _xsltStylePreComp xsltStylePreComp;
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function