1 /* 2 * Summary: API to handle XML Pointers 3 * Description: API to handle XML Pointers 4 * Base implementation was made accordingly to 5 * W3C Candidate Recommendation 7 June 2000 6 * http://www.w3.org/TR/2000/CR-xptr-20000607 7 * 8 * Added support for the element() scheme described in: 9 * W3C Proposed Recommendation 13 November 2002 10 * http://www.w3.org/TR/2002/PR-xptr-element-20021113/ 11 * 12 * Copy: See Copyright for the status of this software. 13 * 14 * Author: Daniel Veillard 15 */ 16 17 #ifndef __XML_XPTR_H__ 18 #define __XML_XPTR_H__ 19 20 #include <libxml/xmlversion.h> 21 22 #ifdef LIBXML_XPTR_ENABLED 23 24 #include <libxml/tree.h> 25 #include <libxml/xpath.h> 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif 30 31 /* 32 * Functions. 33 */ 34 XML_DEPRECATED 35 XMLPUBFUN xmlXPathContextPtr 36 xmlXPtrNewContext (xmlDocPtr doc, 37 xmlNodePtr here, 38 xmlNodePtr origin); 39 XMLPUBFUN xmlXPathObjectPtr 40 xmlXPtrEval (const xmlChar *str, 41 xmlXPathContextPtr ctx); 42 43 #ifdef __cplusplus 44 } 45 #endif 46 47 #endif /* LIBXML_XPTR_ENABLED */ 48 #endif /* __XML_XPTR_H__ */ 49