Coverage Report

Created: 2024-08-27 12:12

/src/libxslt/libxslt/extra.h
Line
Count
Source
1
/*
2
 * Summary: interface for the non-standard features
3
 * Description: implement some extension outside the XSLT namespace
4
 *              but not EXSLT with is in a different library.
5
 *
6
 * Copy: See Copyright for the status of this software.
7
 *
8
 * Author: Daniel Veillard
9
 */
10
11
#ifndef __XML_XSLT_EXTRA_H__
12
#define __XML_XSLT_EXTRA_H__
13
14
#include <libxml/xpath.h>
15
#include "xsltexports.h"
16
#include "xsltInternals.h"
17
18
#ifdef __cplusplus
19
extern "C" {
20
#endif
21
22
/**
23
 * XSLT_LIBXSLT_NAMESPACE:
24
 *
25
 * This is the libxslt namespace for specific extensions.
26
 */
27
7.03k
#define XSLT_LIBXSLT_NAMESPACE ((xmlChar *) "http://xmlsoft.org/XSLT/namespace")
28
29
/**
30
 * XSLT_SAXON_NAMESPACE:
31
 *
32
 * This is Michael Kay's Saxon processor namespace for extensions.
33
 */
34
7.03k
#define XSLT_SAXON_NAMESPACE ((xmlChar *) "http://icl.com/saxon")
35
36
/**
37
 * XSLT_XT_NAMESPACE:
38
 *
39
 * This is James Clark's XT processor namespace for extensions.
40
 */
41
7.03k
#define XSLT_XT_NAMESPACE ((xmlChar *) "http://www.jclark.com/xt")
42
43
/**
44
 * XSLT_XALAN_NAMESPACE:
45
 *
46
 * This is the Apache project XALAN processor namespace for extensions.
47
 */
48
3.51k
#define XSLT_XALAN_NAMESPACE ((xmlChar *)  \
49
3.51k
                          "org.apache.xalan.xslt.extensions.Redirect")
50
51
52
XSLTPUBFUN void XSLTCALL
53
    xsltFunctionNodeSet (xmlXPathParserContextPtr ctxt,
54
           int nargs);
55
XSLTPUBFUN void XSLTCALL
56
    xsltDebug   (xsltTransformContextPtr ctxt,
57
           xmlNodePtr node,
58
           xmlNodePtr inst,
59
           xsltElemPreCompPtr comp);
60
61
62
XSLTPUBFUN void XSLTCALL
63
    xsltRegisterExtras  (xsltTransformContextPtr ctxt);
64
XSLTPUBFUN void XSLTCALL
65
    xsltRegisterAllExtras (void);
66
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif /* __XML_XSLT_EXTRA_H__ */
72