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 ((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 | * xsltEngineVersion:
|
---|
66 | *
|
---|
67 | * The version string for libxslt.
|
---|
68 | */
|
---|
69 | XSLTPUBVAR const char *xsltEngineVersion;
|
---|
70 |
|
---|
71 | /**
|
---|
72 | * xsltLibxsltVersion:
|
---|
73 | *
|
---|
74 | * The version of libxslt compiled.
|
---|
75 | */
|
---|
76 | XSLTPUBVAR const int xsltLibxsltVersion;
|
---|
77 |
|
---|
78 | /**
|
---|
79 | * xsltLibxmlVersion:
|
---|
80 | *
|
---|
81 | * The version of libxml libxslt was compiled against.
|
---|
82 | */
|
---|
83 | XSLTPUBVAR const int xsltLibxmlVersion;
|
---|
84 |
|
---|
85 | /*
|
---|
86 | * Global initialization function.
|
---|
87 | */
|
---|
88 |
|
---|
89 | XSLTPUBFUN void XSLTCALL
|
---|
90 | xsltInit (void);
|
---|
91 |
|
---|
92 | /*
|
---|
93 | * Global cleanup function.
|
---|
94 | */
|
---|
95 | XSLTPUBFUN void XSLTCALL
|
---|
96 | xsltCleanupGlobals (void);
|
---|
97 |
|
---|
98 | #ifdef __cplusplus
|
---|
99 | }
|
---|
100 | #endif
|
---|
101 |
|
---|
102 | #endif /* __XML_XSLT_H__ */
|
---|
103 |
|
---|