Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

xmlns in root element

When converting exchange rates xml from

I'm getting problem with xmlns in root element.

CALL TRANSFORMATION triggers CX_XSLT_ABAP_CALL_ERROR, but only if there is xmlns attribute in first line in input xml:

<gesmes:Envelope xmlns:gesmes="" xmlns="">

Without this xmlns=..... (or when modifying e.g. abcxmlns= ) works following xslt fine:

<xsl:transform xmlns:xsl="" xmlns:sap="" version="1.0">

<xsl:strip-space elements="*"/>

<xsl:template match="/">





<xsl:template match="Cube/Cube">

<asx:abap xmlns:asx="" version="1.0">



<xsl:value-of select="@time"/>



<xsl:apply-templates select="Cube"/>





<xsl:template match="Cube/Cube/Cube">



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



<xsl:value-of select="@currency"/>



<xsl:value-of select="@rate"/>





I'd appreciate if someone migh advise me how to alternate the xslt or tell me what the xmlns in input does.


Edited by: Viktor Kunc on Sep 29, 2008 3:25 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question