extra.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. #ifndef __XML_XSLT_EXTRA_H__
  11. #define __XML_XSLT_EXTRA_H__
  12. #include <libxml/xpath.h>
  13. #include "xsltexports.h"
  14. #include "xsltInternals.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. /**
  19. * XSLT_LIBXSLT_NAMESPACE:
  20. *
  21. * This is the libxslt namespace for specific extensions.
  22. */
  23. #define XSLT_LIBXSLT_NAMESPACE ((xmlChar *) "http://xmlsoft.org/XSLT/namespace")
  24. /**
  25. * XSLT_SAXON_NAMESPACE:
  26. *
  27. * This is Michael Kay's Saxon processor namespace for extensions.
  28. */
  29. #define XSLT_SAXON_NAMESPACE ((xmlChar *) "http://icl.com/saxon")
  30. /**
  31. * XSLT_XT_NAMESPACE:
  32. *
  33. * This is James Clark's XT processor namespace for extensions.
  34. */
  35. #define XSLT_XT_NAMESPACE ((xmlChar *) "http://www.jclark.com/xt")
  36. /**
  37. * XSLT_XALAN_NAMESPACE:
  38. *
  39. * This is the Apache project XALAN processor namespace for extensions.
  40. */
  41. #define XSLT_XALAN_NAMESPACE ((xmlChar *) \
  42. "org.apache.xalan.xslt.extensions.Redirect")
  43. XSLTPUBFUN void XSLTCALL
  44. xsltFunctionNodeSet (xmlXPathParserContextPtr ctxt,
  45. int nargs);
  46. XSLTPUBFUN void XSLTCALL
  47. xsltDebug (xsltTransformContextPtr ctxt,
  48. xmlNodePtr node,
  49. xmlNodePtr inst,
  50. xsltElemPreCompPtr comp);
  51. XSLTPUBFUN void XSLTCALL
  52. xsltRegisterExtras (xsltTransformContextPtr ctxt);
  53. XSLTPUBFUN void XSLTCALL
  54. xsltRegisterAllExtras (void);
  55. #ifdef __cplusplus
  56. }
  57. #endif
  58. #endif /* __XML_XSLT_EXTRA_H__ */