Modifying the sample XSL style sheets

You can modify the redaction style sheet, noPriceInfo.xsl

Procedure

Modify the Redaction style sheet.
The noPriceInfo.xsl style sheet contains the following code, which will replace any price values with zeroes. You can add other fields to the redaction logic, or add more complicated transformations that involve computation to determine values for fields.
<!-- private access only fields -->
<xsl:template match="price">
<price>0.0</price>
</xsl:template>
<xsl:template match="Price">
<Price>0.0</Price>
</xsl:template>
Later, the style sheet performs an identity transform on all other elements.

Task Task

Feedback

Timestamp icon Last updated: Thursday, 3 July 2014
http://publib.boulder.ibm.com/infocenter/prodconn/v1r0m0/topic/com.ibm.scenarios.soawdpwsrr25.doc/topics/tsoa2_sample_xsl_modify_stylesheet.htm