on 03-09-2006 1:07 PM
Hello,
I have a strange thing to do. I need to delete xml version tag (<?xml version="1.0" encoding="utf-8" ?>) from en xml file. I use a receiver file adapter and I want to know how it's possible to delete this tag.
I need to do that as receiving application collects xml messages and adds xml version in collected xml file.
Thanks in advance,
Cédric
Hi Cedric,
you can do that with a ABAP mapping. Convert to string with function module ECATT_CONV_XSTRING_TO_STRING, replace your string with nothing (or split), convert back with ECATT_CONV_STRING_TO_XSTRING.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Michal, excellent blog!
Cédric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Udo, Michal,
Thanks for your answers. I will try them. Michal, can you explain me how to add xsl code in communication channel?
Cédric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can do it with XSLT:
<xsl:output method="html"/> should not create
<?xml version="1.0" encoding="utf-8" ?>
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.