ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

documents.h
Go to the documentation of this file.
00001 /*
00002  * Summary: interface for the document handling
00003  * Description: implements document loading and cache (multiple
00004  *              document() reference for the same resources must
00005  *              be equal.
00006  *
00007  * Copy: See Copyright for the status of this software.
00008  *
00009  * Author: Daniel Veillard
00010  */
00011 
00012 #ifndef __XML_XSLT_DOCUMENTS_H__
00013 #define __XML_XSLT_DOCUMENTS_H__
00014 
00015 #include <libxml/tree.h>
00016 #include "xsltexports.h"
00017 #include "xsltInternals.h"
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 XSLTPUBFUN xsltDocumentPtr XSLTCALL 
00024         xsltNewDocument     (xsltTransformContextPtr ctxt,
00025                      xmlDocPtr doc);
00026 XSLTPUBFUN xsltDocumentPtr XSLTCALL 
00027             xsltLoadDocument    (xsltTransformContextPtr ctxt,
00028                      const xmlChar *URI);
00029 XSLTPUBFUN xsltDocumentPtr XSLTCALL 
00030             xsltFindDocument    (xsltTransformContextPtr ctxt,
00031                      xmlDocPtr doc);
00032 XSLTPUBFUN void XSLTCALL        
00033             xsltFreeDocuments   (xsltTransformContextPtr ctxt);
00034 
00035 XSLTPUBFUN xsltDocumentPtr XSLTCALL 
00036             xsltLoadStyleDocument   (xsltStylesheetPtr style,
00037                      const xmlChar *URI);
00038 XSLTPUBFUN xsltDocumentPtr XSLTCALL 
00039             xsltNewStyleDocument    (xsltStylesheetPtr style,
00040                      xmlDocPtr doc);
00041 XSLTPUBFUN void XSLTCALL        
00042             xsltFreeStyleDocuments  (xsltStylesheetPtr style);
00043 
00044 /*
00045  * Hooks for document loading
00046  */
00047 
00053 typedef enum {
00054     XSLT_LOAD_START = 0,    /* loading for a top stylesheet */
00055     XSLT_LOAD_STYLESHEET = 1,   /* loading for a stylesheet include/import */
00056     XSLT_LOAD_DOCUMENT = 2  /* loading document at transformation time */
00057 } xsltLoadType;
00058 
00076 typedef xmlDocPtr (*xsltDocLoaderFunc)      (const xmlChar *URI,
00077                          xmlDictPtr dict,
00078                          int options,
00079                          void *ctxt,
00080                          xsltLoadType type);
00081 
00082 XSLTPUBFUN void XSLTCALL
00083         xsltSetLoaderFunc       (xsltDocLoaderFunc f);
00084 
00085 /* the loader may be needed by extension libraries so it is exported */
00086 XSLTPUBVAR xsltDocLoaderFunc xsltDocDefaultLoader;
00087 
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091 
00092 #endif /* __XML_XSLT_DOCUMENTS_H__ */
00093 

Generated on Sun May 27 2012 04:19:36 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.