Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Checkstyle For HTML Templates

by wfsp (Abbot)
on Oct 22, 2005 at 14:59 UTC ( #502213=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^2: Checkstyle For HTML Templates
Download Code
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502213]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2015-07-31 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls