XSLT Editor – Testing Input Parameter Values

Situation

Transformation is being tested for specific input parameters using <xsl:param> tag. In order to test with specific values (e.g. copied from Workflow Trace) today a developer has to copy the parameters and replace the declarations in the XSLT editor.

Problem

  1. XSLT is being “destroyed” by copying in <xsl:param … value=""/>. You need to take care to put it back after testing.
  2. It is very hard to test parameters which are XML because it has to be escaped.

Proposed Solution

A new tab Input Parameters needs to be created in the XSLT editor. On this tab it would be possible to add input parameter values. When pressing the Transform button these values would be used.