How To Customize XSL Template: Example 1
How To Customize XSL Template: Example 1
(+)
XSL Template Mapping (Seeded)
=
Generated Output
In the XSL template, mapping needs to be changed to refer to ‘BankAccountNumber’. Here is the
modified version of XSL template
Generated Output
Example 2: How do we send the ‘Ctrlsum’ value with a different number format? Requirement is to
pass the amount value with a comma (,) separator?
(+)
XSL Template Mapping (Seeded)
=
Generated Output
In the XSL template, the required format needs to be passed in the format_number function
Generated Output
Example 3: Banks require some additional data to be sent in the output. However, the data is not
extracted in the original XML extract. How do we achieve this requirement?
a) Enable DFF on the Bank Account setup Page. Set values as per requirement
b) The DFF information shows up in the XML extract with the tag <DescriptiveFlexField>
c) Map this information in the XSL template. Customers are not supposed to touch the seeded
template. The below changes should be carried out on a Customized template. Custom1/2/3/4
are the new tags that were added as per the bank requirement and it is mapped to
‘Attribute1/2/3/4’.
d) Generated Output
Example 4: Since our XSLT parsers are on 1.0 version, how do you get current date in the XSLT
TEMPLATE?
<CurrentDate><xsl:value-of select="java:format(java:java.text.SimpleDateFormat.new('yyyy-
MM-dd'), java:java.util.Date.new())" /></CurrentDate>
c) Generated output
Example 5: XML Extract Customization (Applicable for Funds Disbursement Only). The
following example shows how to utilize the extract extensibility feature
Instruction Level
Payment Level
Invoice Level
PPR Level
b) Let’s take an example of passing user defined elements at the payment Level
Generated Output