Hi All, I am creating a XML file using template. I am able to write the file record by record but the requirement is to write all the records one after one with giving new line example code ------------
$template.getStrValue($header) #set( $count = $count + 1 ) $count ....... We can write the template as $template.getStrValue($header)$count, so that it will write the file with out new line. But I am doing several calculations where I need to write several #set() conditions which forcing to write the record to new line. If I try this $template.getStrValue($header)#set( $count = $count + 1 )$count The output is not correct Thanks Sashi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]