|
ReactOS 0.4.16-dev-2208-g6350669
|
#include "libxslt.h"#include <string.h>#include <libxml/xmlmemory.h>#include <libxml/parser.h>#include <libxml/tree.h>#include <libxml/valid.h>#include <libxml/hash.h>#include <libxml/uri.h>#include <libxml/encoding.h>#include <libxml/xmlerror.h>#include "xslt.h"#include "xsltutils.h"#include "xsltInternals.h"#include "transform.h"#include "templates.h"#include "variables.h"#include "numbersInternals.h"#include "preproc.h"#include "extra.h"#include "imports.h"#include "extensions.h"#include "pattern.h"
Go to the source code of this file.
Macros | |
| #define | IN_LIBXSLT |
Variables | |
| const xmlChar * | xsltExtMarker = (const xmlChar *) "Extension Element" |
|
static |
xsltApplyImportsComp: @style: an XSLT compiled stylesheet @inst: the xslt apply-imports node
Process the xslt apply-imports node on the source node
Definition at line 1516 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltApplyTemplatesComp: @style: an XSLT compiled stylesheet @inst: the apply-templates node
Process the apply-templates node on the source node
Definition at line 1585 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltAttributeComp: @style: an XSLT compiled stylesheet @inst: the xslt attribute node
Process the xslt attribute node on the source node
Definition at line 983 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCallTemplateComp: @style: an XSLT compiled stylesheet @inst: the xslt call-template node
Process the xslt call-template node on the source node
Definition at line 1546 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCheckInstructionElement: @style: the XSLT stylesheet @inst: the XSLT instruction
Check that the instruction is instanciated as an instruction element.
Definition at line 110 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCheckParentElement: @style: the XSLT stylesheet @inst: the XSLT instruction @allow1: allowed parent1 @allow2: allowed parent2
Check that the instruction is instanciated as the childre of one of the possible parents.
Definition at line 165 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCheckTopLevelElement: @style: the XSLT stylesheet @inst: the XSLT instruction @err: raise an error or not
Check that the instruction is instanciated as a top level element.
Returns -1 in case of error, 0 if failed and 1 in case of success
Definition at line 72 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltChooseComp: @style: an XSLT compiled stylesheet @inst: the xslt choose node
Process the xslt choose node on the source node
Definition at line 1637 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCommentComp: @style: an XSLT compiled stylesheet @inst: the xslt comment node
Process the xslt comment node on the source node
Definition at line 1095 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCopyComp: @style: the XSLT stylesheet @inst: the xslt copy node
Process the xslt copy node on the source node
Definition at line 774 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltCopyOfComp: @style: an XSLT compiled stylesheet @inst: the xslt copy-of node
Process the xslt copy-of node on the source node
Definition at line 1159 of file preproc.c.
Referenced by xsltStylePreCompute().
| xsltElemPreCompPtr xsltDocumentComp | ( | xsltStylesheetPtr | style, |
| xmlNodePtr | inst, | ||
| xsltTransformFunction function | ATTRIBUTE_UNUSED | ||
| ) |
xsltDocumentComp: @style: the XSLT stylesheet @inst: the instruction in the stylesheet @function: unused
Pre process an XSLT-1.1 document element
Returns a precompiled data structure for the element
Definition at line 528 of file preproc.c.
Referenced by xsltRegisterAllExtras(), and xsltStylePreCompute().
|
static |
xsltElementComp: @style: an XSLT compiled stylesheet @inst: the xslt element node
Process the xslt element node on the source node
Definition at line 863 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltForEachComp: @style: an XSLT compiled stylesheet @inst: the xslt for-each node
Process the xslt for-each node on the source node
Definition at line 1760 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltFreeStylePreComp: @comp: an XSLT Style precomputed block
Free up the memory allocated by @comp
Definition at line 381 of file preproc.c.
Referenced by xsltFreeStylePreComps().
| void xsltFreeStylePreComps | ( | xsltStylesheetPtr | style | ) |
xsltFreeStylePreComps: @style: an XSLT transformation context
Free up the memory allocated by all precomputed blocks
Definition at line 1951 of file preproc.c.
Referenced by xsltFreeStylesheet().
|
static |
Definition at line 1258 of file preproc.c.
Referenced by xsltApplyTemplatesComp(), xsltCallTemplateComp(), xsltParamComp(), xsltVariableComp(), and xsltWithParamComp().
|
static |
xsltIfComp: @style: an XSLT compiled stylesheet @inst: the xslt if node
Process the xslt if node on the source node
Definition at line 1668 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltNewStylePreComp: @style: the XSLT stylesheet @type: the construct type
Create a new XSLT Style precomputed block
Returns the newly allocated specialized structure or NULL in case of error
Definition at line 225 of file preproc.c.
Referenced by xsltApplyImportsComp(), xsltApplyTemplatesComp(), xsltAttributeComp(), xsltCallTemplateComp(), xsltChooseComp(), xsltCommentComp(), xsltCopyComp(), xsltCopyOfComp(), xsltDocumentComp(), xsltElementComp(), xsltForEachComp(), xsltIfComp(), xsltNumberComp(), xsltParamComp(), xsltProcessingInstructionComp(), xsltSortComp(), xsltTextComp(), xsltValueOfComp(), xsltVariableComp(), xsltWhenComp(), and xsltWithParamComp().
|
static |
xsltNumberComp: @style: an XSLT compiled stylesheet @cur: the xslt number node
Process the xslt number node on the source node
Definition at line 1390 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltParamComp: @style: an XSLT compiled stylesheet @inst: the xslt param node
Process the xslt param node on the source node
Definition at line 1887 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltProcessingInstructionComp: @style: an XSLT compiled stylesheet @inst: the xslt processing-instruction node
Process the xslt processing-instruction node on the source node
Definition at line 1125 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltSortComp: @style: the XSLT stylesheet @inst: the xslt sort node
Process the xslt sort node on the source node
Definition at line 673 of file preproc.c.
Referenced by xsltStylePreCompute().
| void xsltStylePreCompute | ( | xsltStylesheetPtr | style, |
| xmlNodePtr | inst | ||
| ) |
xsltStylePreCompute: @style: the XSLT stylesheet @inst: the instruction in the stylesheet
Precompute an XSLT stylesheet element
Definition at line 2191 of file preproc.c.
Referenced by xsltParseGlobalParam(), xsltParseGlobalVariable(), xsltParseStylesheetAttributeSet(), and xsltParseTemplateContent().
|
static |
xsltTextComp: @style: an XSLT compiled stylesheet @inst: the xslt text node
TODO: This function is obsolete, since xsl:text won't be compiled, but removed from the tree.
Process the xslt text node on the source node
Definition at line 817 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltValueOfComp: @style: an XSLT compiled stylesheet @inst: the xslt value-of node
Process the xslt value-of node on the source node
Definition at line 1205 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltVariableComp: @style: an XSLT compiled stylesheet @inst: the xslt variable node
Process the xslt variable node on the source node
Definition at line 1808 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltWhenComp: @style: an XSLT compiled stylesheet @inst: the xslt if node
Process the xslt if node on the source node
Definition at line 1714 of file preproc.c.
Referenced by xsltStylePreCompute().
|
static |
xsltWithParamComp: @style: an XSLT compiled stylesheet @inst: the xslt with-param node
Process the xslt with-param node on the source node Allowed parents: xsl:call-template, xsl:apply-templates. <xsl:with-param name = qname select = expression>
</xsl:with-param>
Definition at line 1332 of file preproc.c.
Referenced by xsltStylePreCompute().
Definition at line 48 of file preproc.c.
Referenced by xsltApplySequenceConstructor(), and xsltStylePreCompute().