   [web] embed XML into HTML as a table
  I have a shell program that dumps XML data to stdout, and I need to write a PHP script that calls the program can takes the XML data then generates a table.  Is it possible to get a web browser to parse the XML data directly to generate the table?  Or would I need to get PHP to parse the XML and generate the table that way?Thoughts?   
  PHP would be the most flexible, either by using XSLT, or an XML event interface to generate output. If you have libxml on the system you are running the script on, you could alternatively have it generate static HTML output with a stylesheet and the xsltproc tool.   ;  Both is possible. Most browsers support XSLT processing these days. Whet method is the easiest depends on how you want the table to show. If the table needs to be embedded into a regular page, or if you need to support non-standard browsers (IE4 and lower, text browsers, mobile phones) then doing it in PHP is easier. If you only need to show the table (as a separate page) with little or no HTML around it, then simply sending a client the XML and XSLT file is easier.   