2 * Summary: interface for the key matching used in key() and template matches.
3 * Description: implementation of the key mechanims.
5 * Copy: See Copyright for the status of this software.
7 * Author: Daniel Veillard
10 #ifndef __XML_XSLT_KEY_H__
11 #define __XML_XSLT_KEY_H__
13 #include <libxml/xpath.h>
14 #include "xsltexports.h"
15 #include "xsltInternals.h"
24 * check for bit 15 set
26 #define NODE_IS_KEYED (1 >> 15)
28 XSLTPUBFUN
int XSLTCALL
29 xsltAddKey (xsltStylesheetPtr style
,
31 const xmlChar
*nameURI
,
35 XSLTPUBFUN xmlNodeSetPtr XSLTCALL
36 xsltGetKey (xsltTransformContextPtr ctxt
,
38 const xmlChar
*nameURI
,
39 const xmlChar
*value
);
40 XSLTPUBFUN
void XSLTCALL
41 xsltInitCtxtKeys (xsltTransformContextPtr ctxt
,
43 XSLTPUBFUN
void XSLTCALL
44 xsltFreeKeys (xsltStylesheetPtr style
);
45 XSLTPUBFUN
void XSLTCALL
46 xsltFreeDocumentKeys (xsltDocumentPtr doc
);
52 #endif /* __XML_XSLT_H__ */