Passing value from ask editor variable to stylesheet
Posted: Wed Feb 21, 2024 5:42 pm
Is it possible to pass a value from a question asked during the start of a transformation scenario to a stylesheet for use in an if statement?
https://www.oxygenxml.com/forum/
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:param name="askParam"/>
<xsl:template match="/">
<xsl:value-of select="$askParam"/>
</xsl:template>
</xsl:stylesheet>