I have a project where I need to binary-64-encode an xml-file and put it into another xml. To get this to work I first serialize the xml with dp:serialize
and then use dp:binary-encode
on the resultning variable from that. This works fine except for that all scandinavian characters are escaped. åäö
gets to be åäö
when I decode the result.
Any ideas? I've tried with dp:escaping="minimum"
on the output-tag (Does the xsl:output
tag affect dp:serialize
?) and a number of other options. Through printing the serialized result before binary-64-encoding it I've seen that the escaping is added when dp:serialize
is invoked.
Is it possible to serialize without escaping on datapower?