xslt.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. #ifndef __XML_XSLT_H__
  10. #define __XML_XSLT_H__
  11. #include <libxml/tree.h>
  12. #include "xsltexports.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. /**
  17. * XSLT_DEFAULT_VERSION:
  18. *
  19. * The default version of XSLT supported.
  20. */
  21. #define XSLT_DEFAULT_VERSION "1.0"
  22. /**
  23. * XSLT_DEFAULT_VENDOR:
  24. *
  25. * The XSLT "vendor" string for this processor.
  26. */
  27. #define XSLT_DEFAULT_VENDOR "libxslt"
  28. /**
  29. * XSLT_DEFAULT_URL:
  30. *
  31. * The XSLT "vendor" URL for this processor.
  32. */
  33. #define XSLT_DEFAULT_URL "http://xmlsoft.org/XSLT/"
  34. /**
  35. * XSLT_NAMESPACE:
  36. *
  37. * The XSLT specification namespace.
  38. */
  39. #define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform")
  40. /**
  41. * XSLT_PARSE_OPTIONS:
  42. *
  43. * The set of options to pass to an xmlReadxxx when loading files for
  44. * XSLT consumption.
  45. */
  46. #define XSLT_PARSE_OPTIONS \
  47. XML_PARSE_NOENT | XML_PARSE_DTDLOAD | XML_PARSE_DTDATTR | XML_PARSE_NOCDATA
  48. /**
  49. * xsltMaxDepth:
  50. *
  51. * This value is used to detect templates loops.
  52. */
  53. XSLTPUBVAR int xsltMaxDepth;
  54. /**
  55. * xsltEngineVersion:
  56. *
  57. * The version string for libxslt.
  58. */
  59. XSLTPUBVAR const char *xsltEngineVersion;
  60. /**
  61. * xsltLibxsltVersion:
  62. *
  63. * The version of libxslt compiled.
  64. */
  65. XSLTPUBVAR const int xsltLibxsltVersion;
  66. /**
  67. * xsltLibxmlVersion:
  68. *
  69. * The version of libxml libxslt was compiled against.
  70. */
  71. XSLTPUBVAR const int xsltLibxmlVersion;
  72. /*
  73. * Global initialization function.
  74. */
  75. XSLTPUBFUN void XSLTCALL
  76. xsltInit (void);
  77. /*
  78. * Global cleanup function.
  79. */
  80. XSLTPUBFUN void XSLTCALL
  81. xsltCleanupGlobals (void);
  82. #ifdef __cplusplus
  83. }
  84. #endif
  85. #endif /* __XML_XSLT_H__ */