ReactOS 0.4.15-dev-5667-ged97270
documents.h
Go to the documentation of this file.
1/*
2 * Summary: interface for the document handling
3 * Description: implements document loading and cache (multiple
4 * document() reference for the same resources must
5 * be equal.
6 *
7 * Copy: See Copyright for the status of this software.
8 *
9 * Author: Daniel Veillard
10 */
11
12#ifndef __XML_XSLT_DOCUMENTS_H__
13#define __XML_XSLT_DOCUMENTS_H__
14
15#include <libxml/tree.h>
16#include "xsltexports.h"
17#include "xsltInternals.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
25 xmlDocPtr doc);
28 const xmlChar *URI);
31 xmlDocPtr doc);
34
37 const xmlChar *URI);
40 xmlDocPtr doc);
43
44/*
45 * Hooks for document loading
46 */
47
53typedef enum {
54 XSLT_LOAD_START = 0, /* loading for a top stylesheet */
55 XSLT_LOAD_STYLESHEET = 1, /* loading for a stylesheet include/import */
56 XSLT_LOAD_DOCUMENT = 2 /* loading document at transformation time */
58
76typedef xmlDocPtr (*xsltDocLoaderFunc) (const xmlChar *URI,
77 xmlDictPtr dict,
78 int options,
79 void *ctxt,
81
84
85/* the loader may be needed by extension libraries so it is exported */
87
88#ifdef __cplusplus
89}
90#endif
91
92#endif /* __XML_XSLT_DOCUMENTS_H__ */
93
Arabic default style
Definition: afstyles.h:94
xmlDocPtr(* xsltDocLoaderFunc)(const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt, xsltLoadType type)
Definition: documents.h:76
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltFindDocument(xsltTransformContextPtr ctxt, xmlDocPtr doc)
Definition: documents.c:400
XSLTPUBVAR xsltDocLoaderFunc xsltDocDefaultLoader
Definition: documents.h:86
xsltLoadType
Definition: documents.h:53
@ XSLT_LOAD_STYLESHEET
Definition: documents.h:55
@ XSLT_LOAD_DOCUMENT
Definition: documents.h:56
@ XSLT_LOAD_START
Definition: documents.h:54
XSLTPUBFUN void XSLTCALL xsltSetLoaderFunc(xsltDocLoaderFunc f)
Definition: documents.c:104
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltLoadDocument(xsltTransformContextPtr ctxt, const xmlChar *URI)
Definition: documents.c:268
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltNewStyleDocument(xsltStylesheetPtr style, xmlDocPtr doc)
Definition: documents.c:166
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltNewDocument(xsltTransformContextPtr ctxt, xmlDocPtr doc)
Definition: documents.c:127
XSLTPUBFUN void XSLTCALL xsltFreeDocuments(xsltTransformContextPtr ctxt)
Definition: documents.c:234
XSLTPUBFUN xsltDocumentPtr XSLTCALL xsltLoadStyleDocument(xsltStylesheetPtr style, const xmlChar *URI)
Definition: documents.c:343
XSLTPUBFUN void XSLTCALL xsltFreeStyleDocuments(xsltStylesheetPtr style)
Definition: documents.c:193
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLfloat f
Definition: glext.h:7540
xmlDoc * xmlDocPtr
Definition: tree.h:550
Definition: dict.c:111
Definition: tree.h:551
unsigned char xmlChar
Definition: xmlstring.h:28
#define XSLTCALL
Definition: xsltexports.h:39
#define XSLTPUBVAR
Definition: xsltexports.h:55
#define XSLTPUBFUN
Definition: xsltexports.h:48