Am I correct in that macros in templates are executed even if commented out and no result is returned?? I am creating an xslt extension and comment out previous tests however when remote debugging with visual studio it appears that each commented out macro is processed? I had noticed the page loading slower and slower, if correct there should be a warning or something it seems very inefficient.
Macros executed even when commented out?
Am I correct in that macros in templates are executed even if commented out and no result is returned??
I am creating an xslt extension and comment out previous tests however when remote debugging with visual studio it appears that each commented out macro is processed? I had noticed the page loading slower and slower, if correct there should be a warning or something it seems very inefficient.
Alec
How are you commmenting them out? If you are only using HTML comments <!-- --> then they will still be executed.
However if you use .net commneting <%-- --%> they will not be executed.
Peter
Thanks Peter. You learn something new every day.
is working on a reply...