Skip to Content

remove in OM

Sep 13, 2017 at 02:19 PM


avatar image

Hi experts,

I know this is a repeated question but I can't use XSLT mapping so looking for Java mapping or any coustome module.

In my requirement, I have to remove <?xml version="1.0" encoding="UTF-8"?> which is coming by default in OM.

pls note: ?xml version="1.0" encoding="UTF-8"?> i have used as contant also in 1 field , which I dont want to remove. I just want to remove the first line which comes by default

Can anyone help me in this?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Muni M Sep 14, 2017 at 06:49 AM

xslt works fine. can you do end to end test?. and then open the result xml using note pad. i dont see any xml declaration.

<?xml version="1.0"> comes when you are opening in browser which is due to display setting. when you do view source, i dont see any declaration.

capture.png (20.0 kB)
10 |10000 characters needed characters left characters exceeded