How to XML escaping with Apache Velocity?
- by Jan Algermissen
I am generating XML using Apache Velocity. What is the best (most straight-forward) way to XML-escape the output?
(I saw there is an escape tool, but could not figure out it's dev state. I also think that XML escaping is something that is very likely supported by Velocity directly.)