Tag: loop

  • XML entity escaping in Freemarker and Looping issues

    Thanks to my friend Chris Brelski for this trick. There are two ways to escape XML entities in Freemarker. 1) ${variable} 2) ${c} In both these cases, there’s no need to modify Java files, and will convert & to & with proper encoding, etc. Issues with Freemarker looping I’ve been having lots of issues with…