|
Using Text TransformationsA transformation, implemented by a TemplateTransformModel, looks like this: <transform utility.htmlEscape> <p>This is a sample paragraph in HTML</p> </transform> The When you put Transforms can be useful whenever you need to apply a transformation prior to output. For instance, if you needed to take an ASCII string, and insert it inside an XML output stream, you could do the following: <transform utility.compressWhitespace> <transform utility.xmlEscape> The result is: ${master.results}. </transform> </transform> |
|