|
|
1.1 paf 1: /*
2: * key.h: interface for the key matching used in template matches.
3: *
4: * See Copyright for the status of this software.
5: *
6: * daniel@veillard.com
7: */
8:
9: #ifndef __XML_XSLT_KEY_H__
10: #define __XML_XSLT_KEY_H__
11:
1.2 ! paf 12: #include <libxml/xpath.h>
1.1 paf 13: #include "xsltInternals.h"
14:
15: #ifdef __cplusplus
16: extern "C" {
17: #endif
18:
19: int xsltAddKey (xsltStylesheetPtr style,
20: const xmlChar *name,
21: const xmlChar *nameURI,
22: const xmlChar *match,
23: const xmlChar *use,
24: xmlNodePtr inst);
25: xmlNodeSetPtr xsltGetKey (xsltTransformContextPtr ctxt,
26: const xmlChar *name,
27: const xmlChar *nameURI,
28: const xmlChar *value);
29: void xsltInitCtxtKeys (xsltTransformContextPtr ctxt,
30: xsltDocumentPtr doc);
31: void xsltFreeKeys (xsltStylesheetPtr style);
32: void xsltFreeDocumentKeys (xsltDocumentPtr doc);
33:
34: #ifdef __cplusplus
35: }
36: #endif
37:
38: #endif /* __XML_XSLT_H__ */
39: