Map xml comments in flow


I’d like to map ‘meaningless’ xml comments in an xml document using flow or a wm service. Is it possible to do that or will I have to do it in Java?



You can do this using very little java. You can take the xml document, tokenize it and then search for lines starting with <!–. you can delete this from the stringList (valuList) and get your good xml.
hope this helps and I am sure experts will pitch in with more ideas.