XSL_TRANSFORM

LANSA Composer

XSL_TRANSFORM

This activity applies a user-specified and provided XSL 1.0 stylesheet to the specified source file to create a transformed result file.  For example, an XSL stylesheet might be used to transform an XML file to HTML or PDF for viewing or printing.

NOTE:  The transformation is performed using LANSA Integrator's XMLParserService.  This uses Apache Xalan-J as the XSL transformation engine.  This implementation presently supports XSL version 1.0 compliant stylesheets.

INPUT Parameters:

XSLSOURCE : Required

Specifies the path to the source XML file to be transformed.

For example:

c:\dir1\myfile.xml, OR

/mydir1/myfile.xml

XSLTARGET : Required

Specifies the path to the target file that will contain the result of the transformation.

For example:

c:\dir1\myfile.html, OR

/mydir1/myfile.html

XSLSTYLESHEET : Required

Specifies the path to the XSL stylesheet file that contains the XSL 1.0 instructions that determine how the transformation is performed.

For example:

C:\dir1\myxmlTOmyhtml.xslt, OR

/mydir1/myxmlTOmyhtml.xslt

OUTPUT Parameters:

There are no output parameters for this activity.