Skip to Content
0
May 09, 2013 at 04:41 PM

XSLT mapping - removing apostrophe

586 Views

Hi,

I have PI 7.1

Sender - PI (XSLT map) - Receiver

In XSLT map , i have to remove apostrophe from the ItemNode (Element of Source message) value-

<xsl:variable name="specialCharacters" select="'&apos'"/>

<xsl:value-of select="translate(ItemNode, $specialCharacters, '') "/>

But this is failing in SAP PI.

Even when i am testing it in XSLT mapping tool - Its giving error that XSLT is not correct.

Error:XSLTProcessor::transformToXml() [<a href='xsltprocessor.transformtoxml'>xsltprocessor.transformtoxml</a>]: No stylesheet associated to this object

How to remove apostrophe using XSLT map in PI.

Rgds