Thanks for that, Shrike.
Excuse my ignorance, but how exactly do I incorporate this function in my code? The XSLT transformation is written to a variable $result which I then just print to screen. Here's a sample:
<?php
// Bunch of file-to-string preparation
// Allocate a new XSLT processor
$xh = xslt_create();
// Process the document
$result = xslt_process($xh, "arg:/_xml", "arg:/_xsl", NULL, $arguments, $param);
if ($result) {
print $result;
}
else {
print "Error! The reason for this is:<br />" . xslt_error($xh) .
print "<br />The error code for this error is:< >" . xslt_errno($xh);
}
xslt_free($xh);
?>
How do I make sure that, say, words like "für" or "appellé" appear correctly on the screen? They don't at the moment.
Thanks
Norm