## preproc

preproc - precomputing stylesheets

this is the compilation phase, where most of the stylesheet is "compiled" into faster to use data.

Author(s): Daniel Veillard

## Synopsis

    xsltElemPreCompPtr	xsltDocumentComp	(xsltStylesheetPtr style,
    						 xmlNodePtr inst,
    						 xsltTransformFunction function);
    void	xsltFreeStylePreComps		(xsltStylesheetPtr style);
    void	xsltStylePreCompute		(xsltStylesheetPtr style,
    					 xmlNodePtr inst);

## Description

## Details

### Variable xsltExtMarker

    const xmlChar * xsltExtMarker;

### xsltDocumentComp ()

    xsltElemPreCompPtr	xsltDocumentComp	(xsltStylesheetPtr style,
    						 xmlNodePtr inst,
    						 xsltTransformFunction function)

Pre process an XSLT-1.1 document element

`style`: | the XSLT stylesheet
`inst`: | the instruction in the stylesheet
`function`: | unused
`Returns`: | a precompiled data structure for the element

### xsltFreeStylePreComps ()

    void	xsltFreeStylePreComps		(xsltStylesheetPtr style)

Free up the memory allocated by all precomputed blocks

`style`: | an XSLT transformation context

### xsltStylePreCompute ()

    void	xsltStylePreCompute		(xsltStylesheetPtr style,
    					 xmlNodePtr inst)

Precompute an XSLT stylesheet element

`style`: | the XSLT stylesheet
`inst`: | the instruction in the stylesheet