|
Huh? the file tag can write non-xml data. Just use the omitXmlDeclaration="true". What about that doesn't work?
Although that doesn't append, I think the following scripts shows the wished output so that blank-management is possible with the help of the trim attribute.
The only thing that'd be left would be to add an append flag to the Tag, seems quite easy. paul <?xml version="1.0" encoding="utf-8" ?> <forEach var="section" items="${sections}" trim="false">[GOALS_section] I'd like to close this issue, it is working fine.
Use <file append="true" ....>. paul Paul has fixed this I believe.
AFAICT append is only checked when working with the name attribute set.
I propose fixing it for the case of 'var' as well. Have added the append to be valid for var as well... sorry for this omission.
paul |
||||||||||||||||||||||||||||||||||||||||||||||||||
(shouldn't be too hard)
I am unclear about the exact semantic of flat... I guess it's a summary of some other properties (e.g. no XML-header and ....).
paul