Home | History | Annotate | Download | only in libxslt
      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  * XSLT_NORM_SAXON_NAMESPACE:
     53  *
     54  * This is Norm's namespace for SAXON extensions.
     55  */
     56 #define XSLT_NORM_SAXON_NAMESPACE ((xmlChar *)	\
     57 	"http://nwalsh.com/xslt/ext/com.nwalsh.saxon.CVS")
     58 
     59 
     60 XSLTPUBFUN void XSLTCALL
     61 		xsltFunctionNodeSet	(xmlXPathParserContextPtr ctxt,
     62 					 int nargs);
     63 XSLTPUBFUN void XSLTCALL
     64 		xsltDebug		(xsltTransformContextPtr ctxt,
     65 					 xmlNodePtr node,
     66 					 xmlNodePtr inst,
     67 					 xsltStylePreCompPtr comp);
     68 
     69 
     70 XSLTPUBFUN void XSLTCALL
     71 		xsltRegisterExtras	(xsltTransformContextPtr ctxt);
     72 XSLTPUBFUN void XSLTCALL
     73 		xsltRegisterAllExtras	(void);
     74 
     75 #ifdef __cplusplus
     76 }
     77 #endif
     78 
     79 #endif /* __XML_XSLT_EXTRA_H__ */
     80 
     81