Troubleshooting
Problem
You have tried changing the encoding of an XML document by use of a stylesheet (xsl:output element) but the result of the transformed XML document, still does not include the expected encoding.
For example:
The input XML document has a UTF-8 encoding and now you want to change the encoding to EUC-JP using the xsl:output element:
Symptom
The transformed message still has the same encoding as the input message. If using the example given above, the UTF-8 encoding will be outputted instead of the EUC-JP encoding specified in the xsl:output element.
XML declaration in the output message:
<?xml version="1.0" encoding="UTF-8"?>
[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;5.0.0;6.0.0;6.0.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
08 June 2021
UID
swg21433269