* Summary: interface for the XSLT import support
* Description: macros and fuctions needed to implement and
* Copy: See Copyright for the status of this software.
* Author: Daniel Veillard
#ifndef __XML_XSLT_IMPORTS_H__
#define __XML_XSLT_IMPORTS_H__
#include "xsltInternals.h"
* A macro to import pointers from the stylesheet cascading order.
#define XSLT_GET_IMPORT_PTR(res, style, name) { \
xsltStylesheetPtr st = style; \
if (st->name != NULL) { res = st->name; break; } \
st = xsltNextImport(st); \
* A macro to import intergers from the stylesheet cascading order.
#define XSLT_GET_IMPORT_INT(res, style, name) { \
xsltStylesheetPtr st = style; \
if (st->name != -1) { res = st->name; break; } \
st = xsltNextImport(st); \
xsltParseStylesheetImport(xsltStylesheetPtr style,
xsltParseStylesheetInclude
(xsltStylesheetPtr style,
XSLTPUBFUN xsltStylesheetPtr XSLTCALL
xsltNextImport (xsltStylesheetPtr style);
xsltNeedElemSpaceHandling(xsltTransformContextPtr ctxt);
xsltFindElemSpaceHandling(xsltTransformContextPtr ctxt,
XSLTPUBFUN xsltTemplatePtr XSLTCALL
xsltFindTemplate (xsltTransformContextPtr ctxt,
#endif /* __XML_XSLT_IMPORTS_H__ */