18#if !defined(XALAN_CAPI_HEADER_GUARD_1357924680)
19#define XALAN_CAPI_HEADER_GUARD_1357924680
37#if defined(__cplusplus)
77#if defined(__cplusplus)
137 const
char* theXMLFileName,
138 const
char* theXSLFileName,
139 const
char* theOutFileName,
157 const
char* theOutFileName,
175 const
char* theXMLFileName,
176 const
char* theXSLFileName,
231 const
char* theXMLFileName,
232 const
char* theXSLFileName,
234 void* theOutputHandle,
263 void* theOutputHandle,
277 const
char* theXSLFileName,
292 const
char* theXSLStream,
293 unsigned long theXSLStreamLength,
319 const
char* theXMLFileName,
334 const
char* theXMLStream,
335 unsigned long theXMLStreamLength,
363 const
char* expression,
465#if defined(__cplusplus)
XalanCompileStylesheet(const char *theXSLFileName, XalanHandle theXalanHandle, XalanCSSHandle *theCSSHandle)
Creates a compiled stylesheet.
XalanCompileStylesheetFromStream(const char *theXSLStream, unsigned long theXSLStreamLength, XalanHandle theXalanHandle, XalanCSSHandle *theCSSHandle)
Creates a compiled stylesheet.
CreateXalanTransformer()
Create a XalanTransformer instance.
XalanClearStylesheetParams(XalanHandle theXalanHandle)
Clear the top-level stylesheet parameters.
const void * XalanCSSHandle
Handle used to store the address of Compiled Stylesheet instance.
const void * XalanPSHandle
Handle used to store the address of Parsed Source instance.
DeleteXalanTransformer(XalanHandle theXalanHandle)
Delete a XalanTransformer instance.
XalanSetStylesheetParamUTFNumber(const XalanUTF16Char *key, double theNumber, XalanHandle theXalanHandle)
Set a top-level stylesheet number parameter.
void * XalanHandle
This is a simple C interface for the class XalanTransformer.
const char * XalanCCharPtr
This is a typedef to work around limitations with the XALAN_TRANSFORMER_EXPORT_FUNCTION macro.
XalanSetStylesheetParamNumber(const char *key, double theNumber, XalanHandle theXalanHandle)
Set a top-level stylesheet number parameter.
XalanTransformToFile(const char *theXMLFileName, const char *theXSLFileName, const char *theOutFileName, XalanHandle theXalanHandle)
Transform the XML source tree to the given result file.
XMLCh XalanUTF16Char
This is a typedef for characters encoded in UTF-16.
XalanParseSourceFromStream(const char *theXMLStream, unsigned long theXMLStreamLength, XalanHandle theXalanHandle, XalanPSHandle *thePSHandle)
Parse source document from a stream.
XalanTransformToHandler(const char *theXMLFileName, const char *theXSLFileName, XalanHandle theXalanHandle, void *theOutputHandle, XalanOutputHandlerType theOutputHandler, XalanFlushHandlerType theFlushHandler)
Transform the XML source tree to a callback function.
XalanFreeData(char *theData)
Free memory allocated as a result of calling XalanTransformToData.
XalanDestroyCompiledStylesheet(XalanCSSHandle theCSSHandle, XalanHandle theXalanHandle)
Destroys a compiled stylesheet.
XalanParseSource(const char *theXMLFileName, XalanHandle theXalanHandle, XalanPSHandle *thePSHandle)
Parse source document.
XalanTerminate(int fCleanUpICU)
Terminate Xalan and Xerces.
XalanSetStylesheetParamUTF(const XalanUTF16Char *key, const XalanUTF16Char *expression, XalanHandle theXalanHandle)
Set a top-level stylesheet parameter.
XalanDestroyParsedSource(XalanPSHandle thePSHandle, XalanHandle theXalanHandle)
Destroys a parsed source.
XalanInitialize(void)
Initialize Xerces and Xalan.
XalanGetLastError(XalanHandle theXalanHandle)
Returns the last error that occurred as a result of calling transform.
XalanTransformToHandlerPrebuilt(XalanPSHandle thePSHandle, XalanCSSHandle theCSSHandle, XalanHandle theXalanHandle, void *theOutputHandle, XalanOutputHandlerType theOutputHandler, XalanFlushHandlerType theFlushHandler)
Transform the XML source tree to a callback function.
XalanTransformToData(const char *theXMLFileName, const char *theXSLFileName, char **theOutput, XalanHandle theXalanHandle)
Transform the XML source tree to a dynamically allocated buffer.
XalanSetStylesheetParamUTFNodeset(const XalanUTF16Char *key, XalanPSHandle theNodeset, XalanHandle theXalanHandle)
Set a top-level stylesheet nodeset parameter.
XalanTransformToFilePrebuilt(XalanPSHandle theParsedSource, XalanCSSHandle theCSSHandle, const char *theOutFileName, XalanHandle theXalanHandle)
Transform the XML source tree to the given result file.
XalanSetStylesheetParamNodeset(const char *key, XalanPSHandle theNodeset, XalanHandle theXalanHandle)
Set a top-level stylesheet nodeset parameter.
XalanSetStylesheetParam(const char *key, const char *expression, XalanHandle theXalanHandle)
Set a top-level stylesheet parameter.
XalanTransformToDataPrebuilt(XalanPSHandle theParsedSource, XalanCSSHandle theCSSHandle, char **theOutput, XalanHandle theXalanHandle)
Transform the XML source tree to a dynamically-allocated buffer.