Advanced Customization > Info*Engine User’s Guide > Info*Engine Custom Tag Reference > Info*Engine Tags > Supplied Library Tags (XSL)
  
Supplied Library Tags (XSL)
This tag library adds basic support for XSL transformation of Info*Engine groups onto the client’s output stream.
These tags are included in the /com/infoengine/tlds/xsl.tld tag library. To use these tags, you must include a taglib directive in your task similar to the following:
<%@ taglib uri="/com/infoengine/tlds/xsl.tld"
prefix="xsl" %>
The syntax for these tags assumes that you have specified the xsl prefix in the taglib directive. If you specify a different prefix, use the prefix you specified in place of xsl in the tag syntax.
param
Specifies a value for an XSL parameter to be supplied for the transformation. This tag is embedded within a transform tag and is optional. Provides XSL transformation tag support.
Syntax
<xsl:param name="PARAM_NAME" data="PARAM_DATA"/>
Attribute Descriptions
Required attributes: name and data.
name
The XSL parameter name. This attribute is required and is also an expression.
data
The XSL parameter value. This attribute is required and is also an expression.
Example
<xsl:transform group="${toTransform}"
xsl="/transform/to/xcel.xsl"
fileName="my.xls"
contentType="application/vnd.ms-excel">
<xsl:param name="a" data="b" />
</xsl:transform>
transform
Performs XSL transformation on an input group and streams the result to the task’s output stream. Supports embedded param tags. Provides XSL transformation tag support.
Syntax
<xsl:transform xsl="XSL" group="IE GROUP"
fileName="FILENAME" contentType="CONTENT_TYPE">
<xsl:param name="PARAM_NAME" data="PARAM_DATA"/>
</xsl:transform>
Attribute Descriptions
Required attributes: xsl.
xsl
Specifies the path to the XSL style sheet to apply. This attribute is required and is also an expression.
filename
Specifies the filename for the Content-Disposition HTTP header (default: ‘transformed.xml’). This attribute is also an expression.
contentType
Specifies the Content-Type for the Content-Disposition (default: text/xml; charset="UTF-8") This attribute is also an expression.
group
The Info*Engine Group object to translate (not just its name, but the group). This attribute is also an expression.
Example
<xsl:transform group="${toTransform}"
xsl="/transform/to/xcel.xsl"
fileName="my.xls"
contentType="application/vnd.ms-excel">
<xsl:param name="a" data="b" />
</xsl:transform>