Replace function errors in XSL-XML Payment Template Type
Hi All,
We use XSL-XML payment template for our payment file extraction that we send to the bank for processing.
One of the requirement is, if the bank account number has "-" (hyphen) symbol, we need to remove the hyphen symbol and replace the same with "Space".
We can ask business to clean the master data, but generally in Europe, the hyphen in between the bank account is a common usage. So we thought we handle it in the XML-XSL template.
But when we use the "Replace" function in the template as - "<xsl:value-of select="replace(PayeeBankAccount/BankAccountNumber,'-',' ')" />, the "format payments" concurrent program is erroring with the following error message -