On Wed, 2 Jun 2004, Timm Murray wrote:

> >Why would you need to hook into the parser to implement this?
>
> For the attribute syntax I originally suggested, it needs to be notified of
> the extra attributes (which I think would be useful for more than just this
> instance).

Take a look at HTML::Template::Expr.  I implemented that module, which
uses new attributes to existing HTML::Template tags, without hooking
into the parser.

> More generally, filters should hook into the parser directly instead
> of merely being fed the content to be processed.

I've got plans for something like this for HTML::Template v3, but
they're pretty nebulous.

-sam


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to