How can the substituteEntities property be effectively used to prevent the conversion of special characters to HTML-Entities in PHP XSLT transformations?

When performing XSLT transformations in PHP, special characters are often automatically converted to HTML entities by default. To prevent this conversion and keep special characters intact, you can use the `substituteEntities` property in the `XSLTProcessor` class. By setting this property to `false`, you can ensure that special characters are not converted to HTML entities during the transformation process.

// Create a new XSLTProcessor
$xsltProcessor = new XSLTProcessor();

// Load the XSL stylesheet
$xsl = new DOMDocument();
$xsl->load('stylesheet.xsl');

// Load the XML source
$xml = new DOMDocument();
$xml->load('source.xml');

// Set the substituteEntities property to false
$xsltProcessor->substituteEntities = false;

// Import the XSL stylesheet
$xsltProcessor->importStylesheet($xsl);

// Perform the transformation
echo $xsltProcessor->transformToXML($xml);