diff options
author | Martin <gzlist@googlemail.com> | 2009-09-17 16:54:18 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-09-17 16:54:18 +0200 |
commit | ce169a52f485dbf5522c0668e2975201b179add7 (patch) | |
tree | bf54bf74a0e518855b6502e6deb5a8cfb78ca554 /libexslt/exslt.h | |
parent | 3d435b25cf2e8112d87cb133c00b94d5924ec75c (diff) | |
download | libxslt-ce169a52f485dbf5522c0668e2975201b179add7.tar.gz |
Allow use of EXSLT outside XSLT
* libexslt/exslt.h libexslt/date.c libexslt/math.c libexslt/sets.c
libexslt/strings.c: provide registration function for an XPath
context directly
Diffstat (limited to 'libexslt/exslt.h')
-rw-r--r-- | libexslt/exslt.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libexslt/exslt.h b/libexslt/exslt.h index 52d09cfc..21473080 100644 --- a/libexslt/exslt.h +++ b/libexslt/exslt.h @@ -3,6 +3,7 @@ #define __EXSLT_H__ #include <libxml/tree.h> +#include <libxml/xpath.h> #include "exsltexports.h" #include <libexslt/exsltconfig.h> @@ -85,6 +86,15 @@ EXSLTPUBFUN void EXSLTCALL exsltDynRegister(void); EXSLTPUBFUN void EXSLTCALL exsltRegisterAll (void); +EXSLTPUBFUN int EXSLTCALL exsltDateXpathCtxtRegister (xmlXPathContextPtr ctxt, + const xmlChar *prefix); +EXSLTPUBFUN int EXSLTCALL exsltMathXpathCtxtRegister (xmlXPathContextPtr ctxt, + const xmlChar *prefix); +EXSLTPUBFUN int EXSLTCALL exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt, + const xmlChar *prefix); +EXSLTPUBFUN int EXSLTCALL exsltStrXpathCtxtRegister (xmlXPathContextPtr ctxt, + const xmlChar *prefix); + #ifdef __cplusplus } #endif |