Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Special Characters - XSLT Mapping

$
0
0

Hi all,

 

I have out of a sales order situations, where my business people enter some wired stuff into texts.

SDN2.gifSDN1.gif

The information will be viewable also in the source message properly:

 

SDN3.gif

 

 

The Source message is UTF-8:

<?xml version="1.0" encoding="UTF-8" ?>

 

In my XSLT I have configured, that this field should be encapsultated in CDATA section:

 

<xsl:output method="xml" omit-xml-declaration="yes" cdata-section-elements="proc3:P_INTCOMMENTLB-VARCHAR2-IN" indent="yes"/>

<!-- some other code -->

<xsl:variable name="tdid0002"><xsl:apply-templates select="E1EDKT1[TDID='0002']/E1EDKT2"/></xsl:variable>

<proc3:P_INTCOMMENTLB-VARCHAR2-IN><xsl:value-of select="substring($tdid0002,1,500)"/></proc3:P_INTCOMMENTLB-VARCHAR2-IN>

<!-- some other code -->

<xsl:template match="E1EDKT2">

  <xsl:if test="position() &gt; 1"><xsl:value-of select="'&#xD;'" /></xsl:if>  

  <xsl:value-of select="TDLINE"/>

</xsl:template>

<!-- some other code -->

 

If I look at the result message, it became invalid:

SDN4.gif

 

I want to send the information to the receiver using Web Service and their server proxy (not SAP) is refusing it.

 

Any ideas who to fix it?

 

Regards

   Helmut


Viewing all articles
Browse latest Browse all 6719

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>