Skip to Content
author's profile photo Former Member
Former Member

encoding Problem.

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 01:31 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 01:52 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 01:59 PM

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

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

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 03:03 PM

    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>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.