ReactOS  0.4.14-dev-583-g2a1ba2c
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
19 extern "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  */
53  xmlNodePtr cur);
57  xmlNodePtr cur);
67  const xmlChar *name,
68  const xmlChar *nameURI);
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif /* __XML_XSLT_IMPORTS_H__ */
75 
XSLTPUBFUN int XSLTCALL xsltNeedElemSpaceHandling(xsltTransformContextPtr ctxt)
Definition: imports.c:275
XSLTPUBFUN int XSLTCALL xsltParseStylesheetImport(xsltStylesheetPtr style, xmlNodePtr cur)
Definition: imports.c:49
XSLTPUBFUN xsltStylesheetPtr XSLTCALL xsltNextImport(xsltStylesheetPtr style)
Definition: imports.c:250
Definition: tree.h:489
unsigned char xmlChar
Definition: xmlstring.h:28
XSLTPUBFUN int XSLTCALL xsltFindElemSpaceHandling(xsltTransformContextPtr ctxt, xmlNodePtr node)
Definition: imports.c:302
#define XSLTPUBFUN
Definition: xsltexports.h:31
#define XSLTCALL
Definition: xsltexports.h:43
XSLTPUBFUN xsltTemplatePtr XSLTCALL xsltFindTemplate(xsltTransformContextPtr ctxt, const xmlChar *name, const xmlChar *nameURI)
Definition: imports.c:356
Definition: name.c:38
Arabic default style
Definition: afstyles.h:93
XSLTPUBFUN int XSLTCALL xsltParseStylesheetInclude(xsltStylesheetPtr style, xmlNodePtr cur)
Definition: imports.c:146
Definition: dlist.c:348