How to XML escaping with Apache Velocity?

Posted by Jan Algermissen on Stack Overflow See other posts from Stack Overflow or by Jan Algermissen
Published on 2010-06-09T16:35:37Z Indexed on 2010/06/09 22:32 UTC
Read the original article Hit count: 252

Filed under:
|
|

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.)

© Stack Overflow or respective owner

Related posts about Xml

Related posts about escaping