<empty> wrapped body </empty>
<file action="write" path="test/amazon_home.html"> <empty> <var-def name="amazonContent"> <http url="http://www.amazon.com"/> </var-def> </empty> <template> <![CDATA[ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> ]]> ${amazonContent} </template> </file>
New variable is created but its value doesn't participate in the result, because it is inside empty element. Instead, its value is used in the following template processor.