On 23.07.2010 01:09, Benjamin Hitz wrote: > PRE_CHOMP => 1, > POST_CHOMP => 1,
Do you really want to chomp by default every tag? > blah blah XML > <att name="GRAPH_VIEW_CENTER_X" label="GRAPH_VIEW_CENTER_X" value="0.0" > type="real"/> > <att name="GRAPH_VIEW_CENTER_Y" label="GRAPH_VIEW_CENTER_Y" value="0.0" > type="real"/> > [% FOR att = xml_generic_atts %][% att %][% END %] > [% FOR node = xml_nodes %][% node %][% END %] > [% FOR edge = xml_edges %][% edge %][% END %] > </graph> You could try to chomp here explicitly (check out the "~" vs "-" character): [%~ FOR att = xml_generic_atts %][% att %][% END ~%] -- _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
