ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


xsltInternals.h

Includes:

Introduction



Typedefs


xsltDecimalFormat


typedef struct _xsltDecimalFormat xsltDecimalFormat;  
Discussion

xsltDecimalFormat:

Data structure of decimal-format.


xsltDocument


typedef struct _xsltDocument xsltDocument;  
Discussion

xsltDocument:

Data structure associated to a parsed document.


xsltElemPreComp


typedef struct _xsltElemPreComp xsltElemPreComp;  
Discussion

xsltElemPreComp:

The in-memory structure corresponding to element precomputed data, designed to be extended by extension implementors.


xsltElemPreCompDeallocator


typedef void (*xsltElemPreCompDeallocator) (
    xsltElemPreCompPtr comp);  
Discussion

xsltElemPreCompDeallocator: @comp: the #xsltElemPreComp to free up

Deallocates an #xsltElemPreComp structure.


xsltRuntimeExtra


typedef struct _xsltRuntimeExtra xsltRuntimeExtra;  
Discussion

xsltRuntimeExtra:

Extra information added to the transformation context.


xsltSortFunc


typedef void (*xsltSortFunc) (
    xsltTransformContextPtr ctxt,
    xmlNodePtr *sorts, 
    int nbsorts);  
Discussion

xsltSortFunc: @ctxt: a transformation context @sorts: the node-set to sort @nbsorts: the number of sorts

Signature of the function to use during sorting


xsltStylePreComp


typedef struct _xsltStylePreComp xsltStylePreComp;  
Discussion

xsltStylePreComp:

The in-memory structure corresponding to XSLT stylesheet constructs precomputed data.


xsltTemplate


typedef struct _xsltTemplate xsltTemplate;  
Discussion

xsltTemplate:

The in-memory structure corresponding to an XSLT Template.


xsltTransformFunction


typedef void (*xsltTransformFunction) (
    xsltTransformContextPtr ctxt, 
    xmlNodePtr node, 
    xmlNodePtr inst, 
    xsltElemPreCompPtr comp);  
Discussion

xsltTransformFunction: @ctxt: the XSLT transformation context @node: the input node @inst: the stylesheet node @comp: the compiled information from the stylesheet

Signature of the function associated to elements part of the stylesheet language like xsl:if or xsl:apply-templates.

Structs and Unions


_xsltElemPreComp


struct _xsltElemPreComp { 
    xsltElemPreCompPtr next; /* chained list */
    xsltStyleType type; /* type of the element */
    xsltTransformFunction func; /* handling function */
    xmlNodePtr inst; /* the instruction */
    /* end of common part */
    xsltElemPreCompDeallocator free; /* the deallocator */
};  
Discussion

xsltElemPreComp:

The in-memory structure corresponding to element precomputed data, designed to be extended by extension implementors.

#defines


CHECK_STOPPED


#define CHECK_STOPPED if (
    ctxt->state == XSLT_STATE_STOPPED) return; 
Discussion

CHECK_STOPPED:

Macro to check if the XSLT processing should be stopped. Will return from the function.


CHECK_STOPPED0


#define CHECK_STOPPED0 if (
    ctxt->state == XSLT_STATE_STOPPED) return(
    0); 
Discussion

CHECK_STOPPED0:

Macro to check if the XSLT processing should be stopped. Will return from the function with a 0 value.


CHECK_STOPPEDE


#define CHECK_STOPPEDE if (
    ctxt->state == XSLT_STATE_STOPPED) goto error; 
Discussion

CHECK_STOPPEDE:

Macro to check if the XSLT processing should be stopped. Will goto the error: label.


XSLT_MAX_SORT


#define XSLT_MAX_SORT 15 
Discussion

XSLT_MAX_SORT:

Max number of specified xsl:sort on an element.


XSLT_PAT_NO_PRIORITY


#define XSLT_PAT_NO_PRIORITY -12345789 
Discussion

XSLT_PAT_NO_PRIORITY:

Specific value for pattern without priority expressed.


XSLT_RUNTIME_EXTRA


#define XSLT_RUNTIME_EXTRA(
    ctxt, nr)  
Discussion

XSLT_RUNTIME_EXTRA: @ctxt: the transformation context @nr: the index

Macro used to define extra information stored in the context


XSLT_RUNTIME_EXTRA_FREE


#define XSLT_RUNTIME_EXTRA_FREE(
    ctxt, nr)  
Discussion

XSLT_RUNTIME_EXTRA_FREE: @ctxt: the transformation context @nr: the index

Macro used to free extra information stored in the context


XSLT_RUNTIME_EXTRA_LST


#define XSLT_RUNTIME_EXTRA_LST(
    ctxt, nr)  
Discussion

XSLT_RUNTIME_EXTRA_LST: @ctxt: the transformation context @nr: the index

Macro used to access extra information stored in the context


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2006-06-20