cancel
Showing results for 
Search instead for 
Did you mean: 

how to replace the '&' character with '&' in xi

Former Member
0 Kudos

Hi,

i need to replace the '&' character with ' &'.but i f i am converting it is displaying as '&' because internally '&' = '&'.

beacuse of this it is not converting.

is there any possiblity to change the standard conversion in xi.

Accepted Solutions (0)

Answers (4)

Answers (4)

GabrielSagaya
Active Contributor
0 Kudos

Graphical mapping does not support special character like & , <,> to be mapped.

You can encode & as and in UTF-8 only.

if you want the special character to be used, Opt XSLT mapping with ISO-8859-1 encoding

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" encoding="ISO-8859-1"/>

<xsl:template match="/">

<xsl:copy-of select="*" />

</xsl:template>

</xsl:stylesheet>

How to Work with Character Encodings in Process Integration (NW7.0)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79...

Former Member
0 Kudos

Hi Hima,

Let me know when you are facing this problem in message mapping or in other place.

Thanks,

RamuV

former_member556412
Active Participant
0 Kudos

Hi,

in the adapter properties

you can set the file type as TEXT

and then you can choose encoding

(if you won't choose it then your local - XI system encoding will be used ) then it will work .

Regards,

Bhanu

vijay_kumar133
Active Participant
0 Kudos

Hi

in this case both '&" are same is it correct.. or any change in question..

Regards

Vijay

Former Member
0 Kudos

yes.

need to convert & with &amp;