xslt.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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 ((const 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. * * xsltMaxVars:
  56. * *
  57. * * This value is used to detect templates loops.
  58. * */
  59. XSLTPUBVAR int xsltMaxVars;
  60. /**
  61. * xsltEngineVersion:
  62. *
  63. * The version string for libxslt.
  64. */
  65. XSLTPUBVAR const char *xsltEngineVersion;
  66. /**
  67. * xsltLibxsltVersion:
  68. *
  69. * The version of libxslt compiled.
  70. */
  71. XSLTPUBVAR const int xsltLibxsltVersion;
  72. /**
  73. * xsltLibxmlVersion:
  74. *
  75. * The version of libxml libxslt was compiled against.
  76. */
  77. XSLTPUBVAR const int xsltLibxmlVersion;
  78. /*
  79. * Global initialization function.
  80. */
  81. XSLTPUBFUN void XSLTCALL
  82. xsltInit (void);
  83. /*
  84. * Global cleanup function.
  85. */
  86. XSLTPUBFUN void XSLTCALL
  87. xsltCleanupGlobals (void);
  88. #ifdef __cplusplus
  89. }
  90. #endif
  91. #endif /* __XML_XSLT_H__ */