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 #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 #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 #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 #define XSLT_XALAN_NAMESPACE ((xmlChar *) \ 49 "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 73