Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XalanCAPI.h File Reference

Include dependency graph for XalanCAPI.h:

Include dependency graph

Go to the source code of this file.

Defines

Typedefs

Functions


Define Documentation

#define XALAN_CAPI_HEADER_GUARD_1357924680
 

Value:


Typedef Documentation

typedef const char * XalanCCharPtr
 

This is a typedef to work around limitations with the XALAN_TRANSFORMER_EXPORT_FUNCTION macro.

typedef const void * XalanCSSHandle
 

Handle used to store the address of Compiled Stylesheet instance.

typedef void * XalanHandle
 

Handle used to store the address of XalanTransformer instance.

typedef const void * XalanPSHandle
 

Handle used to store the address of Parsed Source instance.

typedef unsigned short XalanUTF16Char
 

This is a typedef for characters encoded in UTF-16.


Function Documentation

XALAN_TRANSFORMER_EXPORT_FUNCTION ( void ) const
 

Set a top-level stylesheet parameter.

This value can be evaluated via xsl:param-variable.

Parameters:
key   name of the param
expression   expression that will be evaluated
theXalanHandle   handle of XalanTransformer instance.

XALAN_TRANSFORMER_EXPORT_FUNCTION ( int ) const
 

Transform the XML source tree to the given result file.

The processor will apply the stylesheet file to the input file and write the transformation result to a new output file.

Parameters:
theXMLFileName   filename of XML input source
theXSLFileName   filename of stylesheet source
theOutFileName   filename of output source
theXalanHandle   handle of XalanTransformer instance.
Returns:
0 for success

XALAN_TRANSFORMER_EXPORT_FUNCTION ( XalanHandle )
 

Create a XalanTransformer instance.

Returns:
the XalanTransformer handle

XALAN_TRANSFORMER_EXPORT_FUNCTION ( void )
 

Terminate Xalan and Xerces.

Should be called only once per process after deleting all instances of XalanTransformer.

Once a process has called this function, it cannot use the API until another call to XalanInitialize has been made.

Optionally, if the ICU has been integrated, this will call the ICU clean up function. This must only be done if the ICU will no longer be used by the process, since the ICU will no longer be in a usable state. See the ICU documentation for more details.

This is handy when using leak-detection software, as all static data allocated by Xalan (and optionally, the ICU) will be freed.

Parameters:
fCleanUpICU   If true, call the ICU clean up function.

XALAN_TRANSFORMER_EXPORT_FUNCTION ( int )
 

Initialize Xerces and Xalan.

Should be called only once per process before making any other API calls.

Returns:
0 if successful, -1 if initialization fails.

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo