Is there any little (1-2 .pm’s) parser based around XML::* and suitable for replacing CGI.pm’s constructions like:
foreach($xmlnodes) {
print table( TR( td( $_) ) ); }
with node2html($node,$rules)?
I ain’t going to fire up XSLT.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is it
push styletemplating you’re thinking of? ie. take a plain HTML file as the template and using CSS or XSLT selectors to push content into it?If so then two CPAN modules I’ve used to do this are:
HTML::ZoomTemplate::SemanticAlso see the Perlmonks post called Push style templating systems which provides more information including a list of push style templates available.
If not push style then are you looking for HTML builders? If so see this Stackoverflow question: CL-WHO-like HTML templating for other languages?
/I3az/