TiXI  3.3.0
XSLT Functions

Functions

DLL_EXPORT ReturnCode tixiXSLTransformationToString (TixiDocumentHandle handle, const char *xslFilename, char **resultText)
 Performs a XML transformation . More...
 
DLL_EXPORT ReturnCode tixiXSLTransformationToFile (TixiDocumentHandle handle, const char *xslFilename, const char *resultFilename)
 Performs a XML transformation and saves the result to resultFilename. More...
 

Detailed Description

Function to perform XSL transformations.

Function Documentation

DLL_EXPORT ReturnCode tixiXSLTransformationToFile ( TixiDocumentHandle  handle,
const char *  xslFilename,
const char *  resultFilename 
)

Performs a XML transformation and saves the result to resultFilename.

Fortran syntax:

tixi_xsl_transformation_to_file( integer handle, character*n xslFilename, character*n resultFilename, integer error )

Parameters
[in]handlehandle as returned by tixiOpenDocument, tixiOpenDocumentRecursive, tixiOpenDocumentFromHTTP, tixiCreateDocument or tixiImportFromString
[in]xslFilenameThe name of a local file with XSL mapping informations.
[in]resultFilenameThe name of a local file to store the resulting XML document in.
Returns
  • SUCCESS if successful
  • FAILED is something went wrong, i.e. opening of files
DLL_EXPORT ReturnCode tixiXSLTransformationToString ( TixiDocumentHandle  handle,
const char *  xslFilename,
char **  resultText 
)

Performs a XML transformation .

Fortran syntax:

tixi_xsl_transformation_to_string( integer handle, character*n xslFilename, character*n resultFilename, integer error )

Parameters
[in]handlehandle as returned by tixiOpenDocument, tixiOpenDocumentRecursive, tixiOpenDocumentFromHTTP, tixiCreateDocument or tixiImportFromString
[in]xslFilenameThe name of a local file with XSL mapping informations.
[out]resultTextThe resulting document of the transformation.
Returns
  • SUCCESS if successful
  • FAILED is something went wrong, i.e. opening of files

Generated Tue Mar 8 2022 14:11:54, by Martin Siggel DLR