Description |
Characters are sent directly to the output.
Some characters must be escaped depending on the form.
Whitespace characters may be removed according to the whitespace control rules.
|
Simple Form |
&
<
>
##
char (all other characters)
|
XML Form |
&
<
>
#
char
|
Translation to Java |
out.print("&");
out.print("<");
out.print(">");
out.print("#");
out.print("char");
|
Example Template |
chars.template
abc
if (x<2 & x>5) then Java else C##
|
|
Example Spec |
spec.xml
<?xml version="1.0"?>
<name>don't care</name>
|
|
Generated Output |
chars
abc
if (x<2 & x>5) then Java else C#
|
|