12#ifndef __XML_XSLTUTILS_H__
13#define __XML_XSLTUTILS_H__
32 xsltGenericError(xsltGenericErrorContext, \
33 "Unimplemented block at %s:%d\n", \
42 xsltGenericError(xsltGenericErrorContext, \
43 "Internal error at %s:%d\n", \
51#define IS_XSLT_ELEM(n) \
52 (((n) != NULL) && ((n)->type == XML_ELEMENT_NODE) && \
53 ((n)->ns != NULL) && (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE)))
60#define IS_XSLT_NAME(n, val) \
61 (xmlStrEqual((n)->name, (const xmlChar *) (val)))
68#define IS_XSLT_REAL_NODE(n) \
70 (((n)->type == XML_ELEMENT_NODE) || \
71 ((n)->type == XML_TEXT_NODE) || \
72 ((n)->type == XML_CDATA_SECTION_NODE) || \
73 ((n)->type == XML_ATTRIBUTE_NODE) || \
74 ((n)->type == XML_DOCUMENT_NODE) || \
75 ((n)->type == XML_HTML_DOCUMENT_NODE) || \
76 ((n)->type == XML_COMMENT_NODE) || \
77 ((n)->type == XML_PI_NODE)))
125#define XSLT_TRACE(ctxt,code,call) \
126 if (ctxt->traceCode && (*(ctxt->traceCode) & code)) \
266#define XSLT_TIMESTAMP_TICS_PER_SEC 100000l
_STLP_MOVE_TO_STD_NAMESPACE void sort(_RandomAccessIter __first, _RandomAccessIter __last)
_In_ fcb _In_ chunk _In_ uint64_t _In_ uint64_t _In_ bool _In_opt_ void _In_opt_ PIRP _In_ LIST_ENTRY _In_ uint8_t compression
static WCHAR no[MAX_STRING_RESOURCE_LEN]
UINT(* handler)(MSIPACKAGE *)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLenum GLuint GLenum GLsizei const GLchar * buf
xmlOutputBuffer * xmlOutputBufferPtr
void(XMLCDECL * xmlGenericErrorFunc)(void *ctx, const char *msg,...) LIBXML_ATTR_FORMAT(2
static unsigned int block
void(* xsltSortFunc)(xsltTransformContextPtr ctxt, xmlNodePtr *sorts, int nbsorts)
#define LIBXSLT_ATTR_FORMAT(fmt, args)
XSLTPUBFUN void XSLTCALL xsltTransformError(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, const char *msg,...) LIBXSLT_ATTR_FORMAT(4
XSLTPUBFUN void XSLTCALL xslDropCall(void)
XSLTPUBFUN int XSLTCALL xsltGetDebuggerStatus(void)
XSLTPUBFUN void XSLTCALL xsltSaveProfiling(xsltTransformContextPtr ctxt, FILE *output)
XSLTPUBVAR void * xsltGenericErrorContext
XSLTPUBFUN void XSLTCALL xsltDocumentSortFunction(xmlNodeSetPtr list)
XSLTPUBFUN int XSLTCALL xslAddCall(xsltTemplatePtr templ, xmlNodePtr source)
XSLTPUBFUN void XSLTCALL xsltSetDebuggerStatus(int value)
int(* xsltAddCallCallback)(xsltTemplatePtr templ, xmlNodePtr source)
XSLTPUBVAR xmlGenericErrorFunc xsltGenericDebug
void(* xsltHandleDebuggerCallback)(xmlNodePtr cur, xmlNodePtr node, xsltTemplatePtr templ, xsltTransformContextPtr ctxt)
XSLTPUBFUN void XSLTCALL xsltMessage(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst)
XSLTPUBVAR void * xsltGenericDebugContext
XSLTPUBVAR xmlGenericErrorFunc xsltGenericError
XSLTPUBFUN int XSLTCALL xsltSaveResultToFilename(const char *URI, xmlDocPtr result, xsltStylesheetPtr style, int compression)
XSLTPUBVAR int xslDebugStatus
XSLTPUBFUN int XSLTCALL xsltSaveResultToFd(int fd, xmlDocPtr result, xsltStylesheetPtr style)
XSLTPUBFUN int XSLTCALL xsltGetUTF8Char(const unsigned char *utf, int *len)
@ XSLT_TRACE_APPLY_TEMPLATE
@ XSLT_TRACE_PROCESS_NODE
@ XSLT_TRACE_CALL_TEMPLATE
@ XSLT_TRACE_STRIP_SPACES
@ XSLT_TRACE_APPLY_TEMPLATES
XSLTPUBFUN xsltDebugTraceCodes XSLTCALL xsltDebugGetDefaultTrace(void)
XSLTPUBFUN void XSLTCALL xsltSetGenericDebugFunc(void *ctx, xmlGenericErrorFunc handler)
XSLTPUBFUN void XSLTCALL xsltCalibrateAdjust(long delta)
XSLTPUBFUN const xmlChar *XSLTCALL xsltGetQNameURI(xmlNodePtr node, xmlChar **name)
XSLTPUBFUN int XSLTCALL xsltSaveResultTo(xmlOutputBufferPtr buf, xmlDocPtr result, xsltStylesheetPtr style)
XSLTPUBFUN void XSLTCALL xsltPrintErrorContext(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node)
void(* xsltDropCallCallback)(void)
XSLTPUBFUN const xmlChar *XSLTCALL xsltSplitQName(xmlDictPtr dict, const xmlChar *name, const xmlChar **prefix)
XSLTPUBFUN void XSLTCALL xsltDoSortFunction(xsltTransformContextPtr ctxt, xmlNodePtr *sorts, int nbsorts)
XSLTPUBFUN int XSLTCALL xsltSaveResultToFile(FILE *file, xmlDocPtr result, xsltStylesheetPtr style)
XSLTPUBFUN xmlXPathCompExprPtr XSLTCALL xsltXPathCompile(xsltStylesheetPtr style, const xmlChar *str)
XSLTPUBFUN void XSLTCALL xsltSetTransformErrorFunc(xsltTransformContextPtr ctxt, void *ctx, xmlGenericErrorFunc handler)
XSLTPUBFUN void XSLTCALL xsltSetSortFunc(xsltSortFunc handler)
XSLTPUBFUN void XSLTCALL xsltSetCtxtSortFunc(xsltTransformContextPtr ctxt, xsltSortFunc handler)
XSLTPUBFUN xmlDocPtr XSLTCALL xsltGetProfileInformation(xsltTransformContextPtr ctxt)
XSLTPUBFUN void XSLTCALL xsltDefaultSortFunction(xsltTransformContextPtr ctxt, xmlNodePtr *sorts, int nbsorts)
XSLTPUBFUN xmlXPathCompExprPtr XSLTCALL xsltXPathCompileFlags(xsltStylesheetPtr style, const xmlChar *str, int flags)
XSLTPUBFUN long XSLTCALL xsltTimestamp(void)
XSLTPUBFUN void XSLTCALL xsltDebugSetDefaultTrace(xsltDebugTraceCodes val)
XSLTPUBFUN xmlXPathObjectPtr *XSLTCALL xsltComputeSortResult(xsltTransformContextPtr ctxt, xmlNodePtr sort)
XSLTPUBFUN int XSLTCALL xsltSaveResultToString(xmlChar **doc_txt_ptr, int *doc_txt_len, xmlDocPtr result, xsltStylesheetPtr style)
XSLTPUBFUN int XSLTCALL xsltSetDebuggerCallbacks(int no, void *block)
XSLTPUBFUN void XSLTCALL xsltSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler)
XSLTPUBFUN const xmlChar *XSLTCALL xsltGetCNsProp(xsltStylesheetPtr style, xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace)
XSLTPUBFUN const xmlChar *XSLTCALL xsltGetQNameURI2(xsltStylesheetPtr style, xmlNodePtr node, const xmlChar **name)
XSLTPUBFUN void XSLTCALL XSLTPUBFUN int XSLTCALL xsltSetCtxtParseOptions(xsltTransformContextPtr ctxt, int options)
XSLTPUBFUN xmlChar *XSLTCALL xsltGetNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace)