Gnome XSLT Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# imports

## Name

imports --

## Synopsis

    #define     XSLT_GET_IMPORT_PTR             (res, style, name)
    #define     XSLT_GET_IMPORT_INT             (res, style, name)
    void        xsltParseStylesheetImport       (xsltStylesheetPtr style,
                                                 xmlNodePtr cur);
    void        xsltParseStylesheetInclude      (xsltStylesheetPtr style,
                                                 xmlNodePtr cur);
    xsltStylesheetPtr xsltNextImport            (xsltStylesheetPtr style);
    int         xsltFindElemSpaceHandling       (xsltTransformContextPtr ctxt,
                                                 xmlNodePtr node);
    xsltTemplatePtr xsltFindTemplate            (xsltTransformContextPtr ctxt,
                                                 const xmlChar *name,
                                                 const xmlChar *nameURI);

## Description

## Details

### XSLT_GET_IMPORT_PTR()

    #define     XSLT_GET_IMPORT_PTR(res, style, name)

`res` : |
`style` : |
`name` : |

### XSLT_GET_IMPORT_INT()

    #define     XSLT_GET_IMPORT_INT(res, style, name)

`res` : |
`style` : |
`name` : |

### xsltParseStylesheetImport ()

    void        xsltParseStylesheetImport       (xsltStylesheetPtr style,
                                                 xmlNodePtr cur);

parse an XSLT stylesheet strip-space element and record elements needing stripping

`style` : | the XSLT stylesheet
`cur` : |

### xsltParseStylesheetInclude ()

    void        xsltParseStylesheetInclude      (xsltStylesheetPtr style,
                                                 xmlNodePtr cur);

parse an XSLT stylesheet strip-space element and record elements needing stripping

`style` : | the XSLT stylesheet
`cur` : |

### xsltNextImport ()

    xsltStylesheetPtr xsltNextImport            (xsltStylesheetPtr style);

Find the next stylesheet in import precedence.

`style` : |
Returns : | the next stylesheet or NULL if it was the last one

### xsltFindElemSpaceHandling ()

    int         xsltFindElemSpaceHandling       (xsltTransformContextPtr ctxt,
                                                 xmlNodePtr node);

Find strip-space or preserve-space informations for an element respect the import precedence or the wildcards

`ctxt` : |
`node` : |
Returns : | 1 if space should be stripped, 0 if not, and 2 if everything should be CDTATA wrapped.

### xsltFindTemplate ()

    xsltTemplatePtr xsltFindTemplate            (xsltTransformContextPtr ctxt,
                                                 const xmlChar *name,
                                                 const xmlChar *nameURI);

Finds the named template, apply import precedence rule.

`ctxt` : |
`name` : | the template name
`nameURI` : | the template name URI
Returns : | the xsltTemplatePtr or NULL if not found

<<< Previous Page | Home | Up | Next Page >>>
attributes | namespaces