Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Checkstyle For HTML Templates

by wfsp (Abbot)
on Oct 22, 2005 at 14:59 UTC ( [id://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.

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://502213]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found