Annotation of win32/gnome/libxslt-x.x.x/libxslt/templates.h, revision 1.1
1.1 ! paf 1: /*
! 2: * templates.h: interface for the template processing
! 3: *
! 4: * See Copyright for the status of this software.
! 5: *
! 6: * daniel@veillard.com
! 7: */
! 8:
! 9: #ifndef __XML_XSLT_TEMPLATES_H__
! 10: #define __XML_XSLT_TEMPLATES_H__
! 11:
! 12: #include <libxml/xpath.h>
! 13: #include <libxml/xpathInternals.h>
! 14: #include "xsltInternals.h"
! 15:
! 16: #ifdef __cplusplus
! 17: extern "C" {
! 18: #endif
! 19:
! 20: int xsltEvalXPathPredicate (xsltTransformContextPtr ctxt,
! 21: xmlXPathCompExprPtr comp,
! 22: xmlNsPtr *nsList,
! 23: int nsNr);
! 24: xmlChar * xsltEvalTemplateString (xsltTransformContextPtr ctxt,
! 25: xmlNodePtr node,
! 26: xmlNodePtr parent);
! 27: xmlChar * xsltEvalAttrValueTemplate (xsltTransformContextPtr ctxt,
! 28: xmlNodePtr node,
! 29: const xmlChar *name,
! 30: const xmlChar *ns);
! 31: xmlChar * xsltEvalStaticAttrValueTemplate (xsltStylesheetPtr style,
! 32: xmlNodePtr node,
! 33: const xmlChar *name,
! 34: const xmlChar *ns,
! 35: int *found);
! 36:
! 37: /* TODO: this is obviously broken ... the namespaces should be passed too ! */
! 38: xmlChar * xsltEvalXPathString (xsltTransformContextPtr ctxt,
! 39: xmlXPathCompExprPtr comp);
! 40:
! 41: xmlNodePtr * xsltTemplateProcess (xsltTransformContextPtr ctxt,
! 42: xmlNodePtr node);
! 43: xmlAttrPtr xsltAttrListTemplateProcess (xsltTransformContextPtr ctxt,
! 44: xmlNodePtr target,
! 45: xmlAttrPtr cur);
! 46: xmlAttrPtr xsltAttrTemplateProcess (xsltTransformContextPtr ctxt,
! 47: xmlNodePtr target,
! 48: xmlAttrPtr attr);
! 49: xmlChar * xsltAttrTemplateValueProcess (xsltTransformContextPtr ctxt,
! 50: const xmlChar* attr);
! 51: #ifdef __cplusplus
! 52: }
! 53: #endif
! 54:
! 55: #endif /* __XML_XSLT_TEMPLATES_H__ */
! 56:
E-mail: