Display Cyrillic and special characters in dp:serialize (DataPower)

661 Views Asked by At

I want to display a whole SOAP message using XSL. I know that message is in var://context/INPUT variable and to display a whole message I use serialization <dp:serialize select="dp:variable('var://context/INPUT')"/> (dp is for IBM DataPower variables).

But this way, if message contains characters like ćčš or љњшђж they are displayed like #1084;&#1080 and so on. disable-output-escaping = "yes" doesn't work with serialization.

Any ideas how to resolve this problem?

1

There are 1 best solutions below

0
On

As long as the message is XML you can't really do anything about it as DataPower will escape those characters, else risking "destroying" the message if there is a character code conversion. You would have to convert the message into a binaryNode to get round that issue I am afraid.