Hi,I use Teamsite templating for generating ASP pages. But when such an ASP page is rendered to browser and I see its html 'view source', I find many extra and unwanted blank spaced lines in between html tags.When I traced back the code location in the corresponding ASP file and TPL file, I found that same blank lines are present in ASP file and some perl code is present in the corresponding location in TPL file. There is no output command used at this location in TPL file, only some server side perl script is causing blank lines to be rendered in final html output.I don't want these many extra blank lines to appear in html source of the output page. Can you help me in this matter? Also if the issue is not clear to you, just let me know, I will provide some code example of the same.Thanks a lot!Nikhil BhawarInfosys-Japan
We have done somthing like this in one of the project, we created a sub in tpl which use to accept the value passed through dcr, there we use to remove the space. I do not have the code with me right now but yes it is possible to remove the space.
The only solution I've found is to push as much TPL code onto a single line, thus avoiding these extras line breaks in the output.
Actually - I prefer to do the entire PT in Perl - constructing the contents of the generated page in a single variable and then outputting it with a single iwpt_output() directive.
Go figure.Fish if you could, you would write a perl script to make coffee in the morning. Andy