TransformText Method

TransformText Method

This method starts the transformation of the input XML document.

The method returns an XML document which is a result of the transformation.

While Transform method uses for transformation script stored in model, TransformText method is using script provided as a parameter.



Context Store Reference

Input data for the transformation. This data will be used as the XSLT transformation source. You can use XPath in order to limit the data.


Context Store Reference, Data Constant Reference, System Function Call

In case XSLT stylesheet requires some parameters, this is the place to bind them. The parameter name has to be the same as the one defined as <xsl:param> in the transformation.

You can pass also a complete context to the transformation so you can use other than the one specified using the Data parameter. In this case you need to specify ArrayResultDataType = Xml in the Context Store Reference. Then you can reference the data inside the stylesheet like this:

<!-- do not forget to set ArrayResultDataType = Xml
in the context store reference! -->
<xsl:param name="invoiceContextStoreData"/>
<xsl:template match="/">
<!-- now you can reference the context as a node set -->
<xsl:for-each select="$invoiceContextStoreData/ROOT/Invoice">
<result invoiceNumber="@InvoiceNumber"/>


Context Store Reference

Transformation script.


Context Store Reference, Data Constant Reference

Type of XSLT engine to be used. 0 - XslTransform, 1 - XslCompiledTransform.