in reply to Fast processing of XML files for CGI

Two strategies spring to mind:

Process Files asynchronously - Use a background process to do the work and produce a static HTML file that can be served to a number of clients. This adopts a write once read many strategy.

Concatenate and transform - Concatenate the XML files into one large XML file and use XSLT to transform the XML into an HTML page.

In both cases I am assuming that you are looking for the HTML page to be refreshed regularly (e.g. every 30 seconds or so) and be viewed by a number of people (the help desk operatives).

  • Comment on Re: Fast processing of XML files for CGI

Replies are listed 'Best First'.
Re: Re: Fast processing of XML files for CGI
by inman (Curate) on Dec 08, 2003 at 11:22 UTC
    The following code relates to the earlier post and shows the processing of a concatenated XML file using an XSLT. This has been tested using a Xalan on the command line but this is available as XML::Xalan.

    Example of concatenated XML reports:

    Example of XSLT to do the conversion: