Skip to Content
Former Member
Apr 26, 2011 at 03:03 AM

XSLT transformation in XML to ABAP: special characters issue



I am parsing well-formed XML file that has the following data (:

<projects><project><name>Wallis &amp; Futuna</name></project></projects>

I use XSLT transformation:

<xsl:transform xmlns:xsl="" xmlns:sap="" version="1.0">
<xsl:strip-space elements="*"/>
 <xsl:template match="projects">
    <asx:abap xmlns:asx="" version="1.0">
          <xsl:for-each select="project">
                <xsl:value-of select="name"/>

If I use the above example without &amp;amp; everything works fine, but the original XML fails with exception CX_XSLT_DESERIALIZATION_ERROR and message "Error during deserialization". Googling around did not give an answer.

Any words of wisdom?

Edited by: Alexei Isaev on Apr 26, 2011 5:04 AM

Edited by: Alexei Isaev on Apr 26, 2011 5:05 AM