Eneboo - Documentación para desarrolladores
|
00001 /* 00002 * Summary: interface for the key matching used in key() and template matches. 00003 * Description: implementation of the key mechanims. 00004 * 00005 * Copy: See Copyright for the status of this software. 00006 * 00007 * Author: Daniel Veillard 00008 */ 00009 00010 #ifndef __XML_XSLT_KEY_H__ 00011 #define __XML_XSLT_KEY_H__ 00012 00013 #include <libxml/xpath.h> 00014 #include "xsltexports.h" 00015 #include "xsltInternals.h" 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00026 #define NODE_IS_KEYED (1 >> 15) 00027 00028 XSLTPUBFUN int XSLTCALL 00029 xsltAddKey (xsltStylesheetPtr style, 00030 const xmlChar *name, 00031 const xmlChar *nameURI, 00032 const xmlChar *match, 00033 const xmlChar *use, 00034 xmlNodePtr inst); 00035 XSLTPUBFUN xmlNodeSetPtr XSLTCALL 00036 xsltGetKey (xsltTransformContextPtr ctxt, 00037 const xmlChar *name, 00038 const xmlChar *nameURI, 00039 const xmlChar *value); 00040 XSLTPUBFUN void XSLTCALL 00041 xsltInitCtxtKeys (xsltTransformContextPtr ctxt, 00042 xsltDocumentPtr doc); 00043 XSLTPUBFUN void XSLTCALL 00044 xsltFreeKeys (xsltStylesheetPtr style); 00045 XSLTPUBFUN void XSLTCALL 00046 xsltFreeDocumentKeys (xsltDocumentPtr doc); 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 00052 #endif /* __XML_XSLT_H__ */ 00053