cancel
Showing results for 
Search instead for 
Did you mean: 

encoding Problem.

Former Member
0 Kudos

Hello,

i send from an ERP System a Message throu XI to an Email Receiver.

I use PI 7.1 SP6

I want to send a xml with a value like

<text>&lt;b&gt;Text&lt;/b&gt;<text>

but when i look already in the monitoring of the ERP System it

becomes

<text>amp;lt;b&amp;gt;Text&amp;lt;/b&amp;gt;</text>

any idea what to send to get this result?

<text>&lt;b&gt;Text&lt;/b&gt;<text>

In the xml which send by email adapter.

regards,

robin

Edited by: Robin Schroeder on Jun 17, 2008 2:49 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

GabrielSagaya
Active Contributor
0 Kudos

It is not possible to send spl character like &, < ,> to target.

Just change your structure as Text element<text> has node element to have element <b>

stefan_grube
Active Contributor
0 Kudos

You have to change your interface, so b becomes a node.

You cannot send <>&' as values of an element.

Stefan

Former Member
0 Kudos

-deleted-

iprieto
Contributor
0 Kudos

Hello Robin,

You can use CDATA section in the xml value.

<![CDATA[  ... content ....  ]]>

For do it, you have the possibility of creating a UDF (User defined function).

Best regards,

Ivu00E1

Former Member
0 Kudos

Have you tried sending just the text through and applying the format via a template?

There is a blog that I am searching for... I will post it when I find it!

This blog maybe useful....

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

Edited by: Barry Neaves on Jun 17, 2008 1:35 PM

Added URL to Blog