http://qs1969.pair.com?node_id=502213


in reply to Re: Checkstyle For HTML Templates
in thread Checkstyle For HTML Templates

If you use HTML::Template you can use template tags in the form of HTML comments.

<!-- TMPL_VAR NAME=PARAM1 -->

This would allow you to validate the template.

Replies are listed 'Best First'.
Re^3: Checkstyle For HTML Templates
by cees (Curate) on Oct 23, 2005 at 01:57 UTC

    Well, not everything:

    <div class="<!-- TMPL_VAR NAME=PARAM2 -->">Test</div>

    Comment tags will validate as long as they are used outside of HTML tags.