|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
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)
471 #endif // XALAN_CAPI_HEADER_GUARD_1357924680
XalanTransformToHandlerPrebuilt(XalanPSHandle thePSHandle, XalanCSSHandle theCSSHandle, XalanHandle theXalanHandle, void *theOutputHandle, XalanOutputHandlerType theOutputHandler, XalanFlushHandlerType theFlushHandler)
Transform the XML source tree to a callback function.
XalanTerminate(int fCleanUpICU)
Terminate Xalan and Xerces.
XalanParseSourceFromStream(const char *theXMLStream, unsigned long theXMLStreamLength, XalanHandle theXalanHandle, XalanPSHandle *thePSHandle)
Parse source document from a stream.
XalanSetStylesheetParam(const char *key, const char *expression, XalanHandle theXalanHandle)
Set a top-level stylesheet parameter.
XalanSetStylesheetParamUTFNumber(const XalanUTF16Char *key, double theNumber, XalanHandle theXalanHandle)
Set a top-level stylesheet number parameter.
const typedef void * XalanPSHandle
Handle used to store the address of Parsed Source instance.
XalanTransformToData(const char *theXMLFileName, const char *theXSLFileName, char **theOutput, XalanHandle theXalanHandle)
Transform the XML source tree to a dynamically allocated buffer.
const typedef void * XalanCSSHandle
Handle used to store the address of Compiled Stylesheet instance.
XMLCh XalanUTF16Char
This is a typedef for characters encoded in UTF-16.
CreateXalanTransformer()
Create a XalanTransformer instance.
XalanTransformToFilePrebuilt(XalanPSHandle theParsedSource, XalanCSSHandle theCSSHandle, const char *theOutFileName, XalanHandle theXalanHandle)
Transform the XML source tree to the given result file.
XalanSetStylesheetParamUTF(const XalanUTF16Char *key, const XalanUTF16Char *expression, XalanHandle theXalanHandle)
Set a top-level stylesheet parameter.
XalanGetLastError(XalanHandle theXalanHandle)
Returns the last error that occurred as a result of calling transform.
XalanCompileStylesheet(const char *theXSLFileName, XalanHandle theXalanHandle, XalanCSSHandle *theCSSHandle)
Creates a compiled stylesheet.
XalanDestroyCompiledStylesheet(XalanCSSHandle theCSSHandle, XalanHandle theXalanHandle)
Destroys a compiled stylesheet.
XalanTransformToHandler(const char *theXMLFileName, const char *theXSLFileName, XalanHandle theXalanHandle, void *theOutputHandle, XalanOutputHandlerType theOutputHandler, XalanFlushHandlerType theFlushHandler)
Transform the XML source tree to a callback function.
XalanInitialize(void)
Initialize Xerces and Xalan.
XalanCompileStylesheetFromStream(const char *theXSLStream, unsigned long theXSLStreamLength, XalanHandle theXalanHandle, XalanCSSHandle *theCSSHandle)
Creates a compiled stylesheet.
XalanDestroyParsedSource(XalanPSHandle thePSHandle, XalanHandle theXalanHandle)
Destroys a parsed source.
void * XalanHandle
This is a simple C interface for the class XalanTransformer.
XalanSetStylesheetParamNodeset(const char *key, XalanPSHandle theNodeset, XalanHandle theXalanHandle)
Set a top-level stylesheet nodeset parameter.
XalanSetStylesheetParamNumber(const char *key, double theNumber, XalanHandle theXalanHandle)
Set a top-level stylesheet number parameter.
DeleteXalanTransformer(XalanHandle theXalanHandle)
Delete a XalanTransformer instance.
const typedef char * XalanCCharPtr
This is a typedef to work around limitations with the XALAN_TRANSFORMER_EXPORT_FUNCTION macro.
XalanFreeData(char *theData)
Free memory allocated as a result of calling XalanTransformToData.
XalanClearStylesheetParams(XalanHandle theXalanHandle)
Clear the top-level stylesheet parameters.
XalanParseSource(const char *theXMLFileName, XalanHandle theXalanHandle, XalanPSHandle *thePSHandle)
Parse source document.
XalanSetStylesheetParamUTFNodeset(const XalanUTF16Char *key, XalanPSHandle theNodeset, XalanHandle theXalanHandle)
Set a top-level stylesheet nodeset parameter.
XalanTransformToFile(const char *theXMLFileName, const char *theXSLFileName, const char *theOutFileName, XalanHandle theXalanHandle)
Transform the XML source tree to the given result file.
XalanTransformToDataPrebuilt(XalanPSHandle theParsedSource, XalanCSSHandle theCSSHandle, char **theOutput, XalanHandle theXalanHandle)
Transform the XML source tree to a dynamically-allocated buffer.