What's the best approach for escaping Strings in Xpand templates? (for example for
generating XML you have to quote <, >, & characters). Defining a Xtend function to include
a JAVA function that does the job? If so, is there maybe a set of common String escaping
functions available somewhere or does everybody write these themself?
does the trick. I guess there isn't a way to tell xpand to apply such a function for every
value that goes into the output document? (writing «somevalue.xml()» for each and every
value is redundant and errorprone as it might be forgotten failing only one day where you
have a '&' char in the model data)