process-xsl

Process some XSL code

Description

The resulting XML will be inserted in place. The XSL will be run on an empty document (therefore any XPath related to the input XML will be an empty nodeset). The variables in the current scope are passed as XSL parameters.

Attributes

Examples

Input Example:

<declare name="password" initial-value="BJLLFIKIFHGEPEKGKEDAIGFEOMLMHKHIEOPOCJCJMAEKAIOPMKBHGFJLLKJFIPGBNDMBIFIPGBNDNFIPGBNDMCNJFGJEIFAKOEFGNP" type="password"/>
<process-xsl>
<xsl:param name="password"/>
<xsl:template match="/">
<declare name="v1" initial-value="v1"/>
<declare name="v2" initial-value="v2"/>
<xsl:value-of select="$password"/>
</xsl:template>
</process-xsl>

Output Example:

test
  <declare name="password" initial-value="BJLLFIKIFHGEPEKGKEDAIGFEOMLMHKHIEOPOCJCJMAEKAIOPMKBHGFJLLKJFIPGBNDMBIFIPGBNDNFIPGBNDMCNJFGJEIFAKOEFGNP" type="password"/>
  <declare name="v2" initial-value="v2"/>
  <declare name="v1" initial-value="v1"/>