--- George Jempty <[EMAIL PROTECTED]> wrote: > I would like to know what experience, if any, list > members have had parsing HTML::Template files, with > either HTML::Parser or HTML::TokeParser, or any > other > appropriate library, including "home-grown", to > extract <TMPL_VAR> tags? Hopefully I'll get some > good > feedback before I get too far along into the > experiment I'm about to undertake ;) .... if not > I'll > post a followup recounting my own experiences.
My experiment was "successful", in a limited way. I used HTML::TokeParser, only looked at start tags, and only looked at their value attributes, which is where _most_ of my <TMPL_VARS> are ;) A seemingly "better" solution (I will try when I get back to work Monday morning) would be to take advantage of HTML::Template's option of putting your template vars inside of HTML comments -- then that's the only place your parsing routine has to look. HTH!! ===== George M. Jempty Database Admin/Intranet Architect Regional West Medical Center Scottsbluff, Nebraska [EMAIL PROTECTED][EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
