Using Name/Value Pairs with an XSLT Service
The XML data passed to an XSLT service for transformation might contain elements that include a name/value pair, which consists of an XML attribute and its corresponding value. For example, in the XML element <customer custid=”wm339”>, custid=”wm339” is a name/value pair.
Using the appropriate instructions in the XSLT style sheet in conjunction with the XSLT service xslParamInput parameter, you can:
Override the value of a name/value pair defined in the style sheet. By passing a new value from the pipeline to the style sheet you can specify values during the transformation that were not available when you wrote the style sheet, and run different transformations without changing the underlying XSLT style sheet.
Define a new name/value pair in the style sheet, and pass it to the pipeline when you run the service.