# The XSLT C library for Gnome

## Module preproc from libxslt

API Menu

- Main Menu
- Developer Menu
- API Menu
- ChangeLog

Related links

- Mail archive
- XML libxml
- DOM gdome2
- FTP
- Windows binaries
- Solaris binaries
- MacOsX binaries
- Pascal bindings
- Bug Tracker
- Xsldbg Debugger
- Apache module

API Indexes

- Alphabetic
- Constructors
- Functions/Types
- Modules
- Symbols

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

## Table of Contents

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

    void	xsltFreeStylePreComps		(xsltStylesheetPtr style)

    void	xsltStylePreCompute		(xsltStylesheetPtr style,
    					 xmlNodePtr inst)

## Description

### Function: 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

### Function: xsltFreeStylePreComps

    void	xsltFreeStylePreComps		(xsltStylesheetPtr style)

Free up the memory allocated by all precomputed blocks

`style`: | an XSLT transformation context

### Function: xsltStylePreCompute

    void	xsltStylePreCompute		(xsltStylesheetPtr style,
    					 xmlNodePtr inst)

Precompute an XSLT stylesheet element

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

Daniel Veillard