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
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 about the Monastery: (4)
As of 2014-09-02 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls