Designer 10.7 | webMethods Service Development Help | Building XSLT Services | Using Name/Value Pairs with an XSLT Service | Passing Name/Value Pairs from the Pipeline to the Style Sheet | Defining Name/Value Pair as an XSLT Parameter
 
Defining Name/Value Pair as an XSLT Parameter
*To define each name/value pair as an XSLT parameter in the style sheet
1. In the service’s XSLT style sheet, use the xsl:param element to define a corresponding XSLT parameter for each name/value pair you defined using xslParamInput. For example:
<xsl:param name="name1"/>
<xsl:param name="name2"/>
<xsl:param name="name3"/>
.
.
.
<xsl:param name="nameN"/>
2. At run time, the XSLT service will pass the new value from the pipeline to the style sheet. The style sheet will use the new value during the transformation of the XML data.