Below is the PHP5-page to used to insert data originating from an XML-file without client-side scripting.
Make sure your XSLT outputs what you intend to have displayed.
Comment: I must admit my initial question referred to jQuery, but I ended up with this rather simple and effective solution instead.
<?php
$path_xml = "/...path-to.../list.xml";
$path_style = "/...path-to.../list.xsl";
$xml_obj = new DomDocument;
$xsl_obj = new DomDocument;
if (!$xml_obj->load($path_xml)) {
echo "Error! Unable to open " . $path_xml . "!\n";
exit;
}
if (!$xsl_obj->load($path_style)) {
echo "Error! Unable to open " . $path_style . "!\n";
exit;
}
$xslt_parse = new xsltprocessor;
$xslt_parse->importStyleSheet($xsl_obj);
?>
<!DOCTYPE...>
<head>
</head>
<body>
<p><!-- display XSLT-styled content of XML-data here: -->
<?php echo $xslt_parse->transformToXML($xml_obj);?>
</p>
</body>
</html>