# Transform

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.CrossplatformXML>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                               | Description                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| XML : `String`                     | <p>XML to transform.</p><p><br>Default: <code>-</code><br>Example: <code>...</code></p>                                                                                                                                                                                                                                                                                                                           |
| XSLT : `String`                    | <p>XSLT transformation. The XSLT version (1.0, 2.0, or 3.0) is determined by the version attribute in the stylesheet element. The version attribute is required.</p><p><br>Default: <code>-</code><br>Example: <code>\<xsl:stylesheet xmlns:xsl="<http://www.w3.org/1999/XSL/Transform>" version="2.0"> \<xsl:template match="/"> \<xsl:value-of select="//item"/> \</xsl:template> \</xsl:stylesheet></code></p> |
| XSLTParameters : `XSLTParameter[]` | <p>XSLT parameters.</p><p><br>Default: <code>-</code><br>Example: <code>\[ { Name = "param", Value = "foo" }, { Name = "param2", Value = "bar" } ]</code></p>                                                                                                                                                                                                                                                     |
| {% endtab %}                       |                                                                                                                                                                                                                                                                                                                                                                                                                   |

{% tab title="Parameter: Options" %}

| Name                               | Description                                                                                                                                   |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| EnableExternalEntities : `Boolean` | <p>Controls whether external entities are allowed in the XML processing.</p><p><br>Default: <code>-</code><br>Example: <code>false</code></p> |
| {% endtab %}                       |                                                                                                                                               |

{% tab title="Result: Result" %}

| Name           | Description                                                        |
| -------------- | ------------------------------------------------------------------ |
| XML : `String` | <p>Result of XSLT transformation.<br>Example: <code>...</code></p> |
| {% endtab %}   |                                                                    |
| {% endtabs %}  |                                                                    |
