1 | /* |
2 | * Summary: Interfaces, constants and types related to the XSLT engine |
3 | * Description: Interfaces, constants and types related to the XSLT engine |
4 | * |
5 | * Copy: See Copyright for the status of this software. |
6 | * |
7 | * Author: Daniel Veillard |
8 | */ |
9 | |
10 | #ifndef __XML_XSLT_H__ |
11 | #define __XML_XSLT_H__ |
12 | |
13 | #include <libxml/tree.h> |
14 | #include "xsltexports.h" |
15 | |
16 | #ifdef __cplusplus |
17 | extern "C" { |
18 | #endif |
19 | |
20 | /** |
21 | * XSLT_DEFAULT_VERSION: |
22 | * |
23 | * The default version of XSLT supported. |
24 | */ |
25 | #define XSLT_DEFAULT_VERSION "1.0" |
26 | |
27 | /** |
28 | * XSLT_DEFAULT_VENDOR: |
29 | * |
30 | * The XSLT "vendor" string for this processor. |
31 | */ |
32 | #define XSLT_DEFAULT_VENDOR "libxslt" |
33 | |
34 | /** |
35 | * XSLT_DEFAULT_URL: |
36 | * |
37 | * The XSLT "vendor" URL for this processor. |
38 | */ |
39 | #define XSLT_DEFAULT_URL "http://xmlsoft.org/XSLT/" |
40 | |
41 | /** |
42 | * XSLT_NAMESPACE: |
43 | * |
44 | * The XSLT specification namespace. |
45 | */ |
46 | #define XSLT_NAMESPACE ((const xmlChar *)"http://www.w3.org/1999/XSL/Transform") |
47 | |
48 | /** |
49 | * XSLT_PARSE_OPTIONS: |
50 | * |
51 | * The set of options to pass to an xmlReadxxx when loading files for |
52 | * XSLT consumption. |
53 | */ |
54 | #define XSLT_PARSE_OPTIONS \ |
55 | XML_PARSE_NOENT | XML_PARSE_DTDLOAD | XML_PARSE_DTDATTR | XML_PARSE_NOCDATA |
56 | |
57 | /** |
58 | * xsltMaxDepth: |
59 | * |
60 | * This value is used to detect templates loops. |
61 | */ |
62 | XSLTPUBVAR int xsltMaxDepth; |
63 | |
64 | /** |
65 | * * xsltMaxVars: |
66 | * * |
67 | * * This value is used to detect templates loops. |
68 | * */ |
69 | XSLTPUBVAR int xsltMaxVars; |
70 | |
71 | /** |
72 | * xsltEngineVersion: |
73 | * |
74 | * The version string for libxslt. |
75 | */ |
76 | XSLTPUBVAR const char *xsltEngineVersion; |
77 | |
78 | /** |
79 | * xsltLibxsltVersion: |
80 | * |
81 | * The version of libxslt compiled. |
82 | */ |
83 | XSLTPUBVAR const int xsltLibxsltVersion; |
84 | |
85 | /** |
86 | * xsltLibxmlVersion: |
87 | * |
88 | * The version of libxml libxslt was compiled against. |
89 | */ |
90 | XSLTPUBVAR const int xsltLibxmlVersion; |
91 | |
92 | /* |
93 | * Global initialization function. |
94 | */ |
95 | |
96 | XSLTPUBFUN void XSLTCALL |
97 | xsltInit (void); |
98 | |
99 | /* |
100 | * Global cleanup function. |
101 | */ |
102 | XSLTPUBFUN void XSLTCALL |
103 | xsltCleanupGlobals (void); |
104 | |
105 | #ifdef __cplusplus |
106 | } |
107 | #endif |
108 | |
109 | #endif /* __XML_XSLT_H__ */ |
110 | |
111 | |