ReactOS 0.4.15-dev-7958-gcd0bb1a
imports.h
Go to the documentation of this file.
1/*
2 * Summary: interface for the XSLT import support
3 * Description: macros and fuctions needed to implement and
4 * access the import tree
5 *
6 * Copy: See Copyright for the status of this software.
7 *
8 * Author: Daniel Veillard
9 */
10
11#ifndef __XML_XSLT_IMPORTS_H__
12#define __XML_XSLT_IMPORTS_H__
13
14#include <libxml/tree.h>
15#include "xsltexports.h"
16#include "xsltInternals.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27#define XSLT_GET_IMPORT_PTR(res, style, name) { \
28 xsltStylesheetPtr st = style; \
29 res = NULL; \
30 while (st != NULL) { \
31 if (st->name != NULL) { res = st->name; break; } \
32 st = xsltNextImport(st); \
33 }}
34
40#define XSLT_GET_IMPORT_INT(res, style, name) { \
41 xsltStylesheetPtr st = style; \
42 res = -1; \
43 while (st != NULL) { \
44 if (st->name != -1) { res = st->name; break; } \
45 st = xsltNextImport(st); \
46 }}
47
48/*
49 * Module interfaces
50 */
67 const xmlChar *name,
68 const xmlChar *nameURI);
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif /* __XML_XSLT_IMPORTS_H__ */
75
Arabic default style
Definition: afstyles.h:94
FxCollectionEntry * cur
XSLTPUBFUN int XSLTCALL xsltParseStylesheetImport(xsltStylesheetPtr style, xmlNodePtr cur)
Definition: imports.c:49
XSLTPUBFUN xsltStylesheetPtr XSLTCALL xsltNextImport(xsltStylesheetPtr style)
Definition: imports.c:251
XSLTPUBFUN xsltTemplatePtr XSLTCALL xsltFindTemplate(xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *nameURI)
Definition: imports.c:357
XSLTPUBFUN int XSLTCALL xsltParseStylesheetInclude(xsltStylesheetPtr style, xmlNodePtr cur)
Definition: imports.c:147
XSLTPUBFUN int XSLTCALL xsltNeedElemSpaceHandling(xsltTransformContextPtr ctxt)
Definition: imports.c:276
XSLTPUBFUN int XSLTCALL xsltFindElemSpaceHandling(xsltTransformContextPtr ctxt, xmlNodePtr node)
Definition: imports.c:303
Definition: tree.h:489
Definition: name.c:39
Definition: dlist.c:348
unsigned char xmlChar
Definition: xmlstring.h:28
#define XSLTCALL
Definition: xsltexports.h:39
#define XSLTPUBFUN
Definition: xsltexports.h:48