File indexing completed on 2025-12-16 10:19:33
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef __XML_XSLT_IMPORTS_H__
0012 #define __XML_XSLT_IMPORTS_H__
0013
0014 #include <libxml/tree.h>
0015 #include "xsltexports.h"
0016 #include "xsltInternals.h"
0017
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021
0022
0023
0024
0025
0026
0027 #define XSLT_GET_IMPORT_PTR(res, style, name) { \
0028 xsltStylesheetPtr st = style; \
0029 res = NULL; \
0030 while (st != NULL) { \
0031 if (st->name != NULL) { res = st->name; break; } \
0032 st = xsltNextImport(st); \
0033 }}
0034
0035
0036
0037
0038
0039
0040 #define XSLT_GET_IMPORT_INT(res, style, name) { \
0041 xsltStylesheetPtr st = style; \
0042 res = -1; \
0043 while (st != NULL) { \
0044 if (st->name != -1) { res = st->name; break; } \
0045 st = xsltNextImport(st); \
0046 }}
0047
0048
0049
0050
0051 XSLTPUBFUN int XSLTCALL
0052 xsltParseStylesheetImport(xsltStylesheetPtr style,
0053 xmlNodePtr cur);
0054 XSLTPUBFUN int XSLTCALL
0055 xsltParseStylesheetInclude
0056 (xsltStylesheetPtr style,
0057 xmlNodePtr cur);
0058 XSLTPUBFUN xsltStylesheetPtr XSLTCALL
0059 xsltNextImport (xsltStylesheetPtr style);
0060 XSLTPUBFUN int XSLTCALL
0061 xsltNeedElemSpaceHandling(xsltTransformContextPtr ctxt);
0062 XSLTPUBFUN int XSLTCALL
0063 xsltFindElemSpaceHandling(xsltTransformContextPtr ctxt,
0064 xmlNodePtr node);
0065 XSLTPUBFUN xsltTemplatePtr XSLTCALL
0066 xsltFindTemplate (xsltTransformContextPtr ctxt,
0067 const xmlChar *name,
0068 const xmlChar *nameURI);
0069
0070 #ifdef __cplusplus
0071 }
0072 #endif
0073
0074 #endif
0075