in reply to Re^3: XML-Parser with web application
in thread XML-Parser with web application

I know that what every I have done right now is some how difficult than normal cgi application. But i would like to do this work only by using XML outfile and XML parser to convert the xml file to html file. Do you know any module which will parse the XML file as reference value and XSLT file as file in perl. Thanks sanku

Replies are listed 'Best First'.
Re^5: XML-Parser with web application
by dHarry (Abbot) on Jul 26, 2010 at 14:40 UTC

    Sticking in a use CGI; is not magically going to make it a working webap. You have to write code to make it work. The approach of transforming XML with XSLT to generate a html page is fine. What is missing from your code is the CGI stuff. For example I would expect (at least) something like:

    use strict; use warnings; use CGI; $q = CGI->new; print $q->header, $q->start_html('blabla'), $q->end_html;

    Where do you create the HTTP header? Where do you tell it to output the html?