Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM for XML purpose

Former Member
0 Likes
572

I'm searching for ANY FM, which replace in the text all control character used in XML.

I want to dump documentation of program into XML and the main problem is, that in this documentation occures signs as: ", <, > which are constrols character for XML file, and them should be replaced.

All helping post will be rewarded

4 REPLIES 4
Read only

Former Member
0 Likes
525

See if this is what you are looking for.

SOTR_TAGS_REMOVE_FROM_STRING

Regards,

Ravi

Read only

0 Likes
525

Replaced, not removed

Read only

0 Likes
525

you can try using CL_HTTP_UTILITY->IF_HTTP_UTILITY~ESCAPE_HTML method to replace those with relevant escape characters.

Regards

Raja

Read only

Former Member
0 Likes
525

Finally I used regular expressions