Hi,
I have a problem with formatting dynamic generated XML. I pass a dynamic DDIC-structure to an XSLT transformation and there I need to reformat some content:
I need to format decimal content of xml elements, example:
<element>9.2</element> needs to be <element>9,20<element>
Also, I need to clear out initial values, example:
<element>0.0</element> needs to be <element />
First I tried to use the xsl:decimal-format in the xslt-transformation but SAP did not support this function.
Here my plain and simple XSLT:
<?xml version="1.0" encoding="UTF-8"?>
http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
Has anyone an idea how to reformat the content within the XML oder wihtin the iXML-framework?
Thank you & best regards,
Peter