Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

XML file

$
0
0

Hi,

 

I create new xml file by using interface IF_IXML_DOCUMENT and method CREATE_SIMPLE_ELEMENT_NS

 

(Lo_Ixml = cl_ixml=>Create

Lo_Document = Lo_Ixml -> Create_Document( ).

............  )

 

I download the file by create output stream and rander.

 

When i click on the downloaded file (named Myfile.xml) the xml editor open the file and the data look good.

 

But when I open the file with other editor (like notepad) I found that some characters replaced by other characters.

E.g. the character " replaced by the word &quot

        the charcter ' replaced by by the word &apos

 

 

Any clue why SAP replace the characters?

 

Any help will be appreciate

 

We are using SAP 7.4 NON unicode.

 

P.s.

 

Before download I convert the XML to UTF-8 using fanction SDIXML_DOM_TO_XML
but same result.

 

Thanks,

Itzik


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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