Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:44:21

0001 /*
0002  * Summary:  interface for the key matching used in key() and template matches.
0003  * Description: implementation of the key mechanims.
0004  *
0005  * Copy: See Copyright for the status of this software.
0006  *
0007  * Author: Daniel Veillard
0008  */
0009 
0010 #ifndef __XML_XSLT_KEY_H__
0011 #define __XML_XSLT_KEY_H__
0012 
0013 #include <libxml/xpath.h>
0014 #include "xsltexports.h"
0015 #include "xsltInternals.h"
0016 
0017 #ifdef __cplusplus
0018 extern "C" {
0019 #endif
0020 
0021 /**
0022  * NODE_IS_KEYED:
0023  *
0024  * check for bit 15 set
0025  */
0026 #define NODE_IS_KEYED (1 >> 15)
0027 
0028 XSLTPUBFUN int XSLTCALL
0029         xsltAddKey      (xsltStylesheetPtr style,
0030                      const xmlChar *name,
0031                      const xmlChar *nameURI,
0032                      const xmlChar *match,
0033                      const xmlChar *use,
0034                      xmlNodePtr inst);
0035 XSLTPUBFUN xmlNodeSetPtr XSLTCALL
0036         xsltGetKey      (xsltTransformContextPtr ctxt,
0037                      const xmlChar *name,
0038                      const xmlChar *nameURI,
0039                      const xmlChar *value);
0040 XSLTPUBFUN void XSLTCALL
0041         xsltInitCtxtKeys    (xsltTransformContextPtr ctxt,
0042                      xsltDocumentPtr doc);
0043 XSLTPUBFUN void XSLTCALL
0044         xsltFreeKeys        (xsltStylesheetPtr style);
0045 XSLTPUBFUN void XSLTCALL
0046         xsltFreeDocumentKeys    (xsltDocumentPtr doc);
0047 
0048 #ifdef __cplusplus
0049 }
0050 #endif
0051 
0052 #endif /* __XML_XSLT_H__ */
0053