whYunderground
08-30-2008, 11:48 AM
I am inserting some XSL formatted XML into my webpage, and it is working fine, but for some reason it is making my body background image not work.
<div id="artlist">
<?php
$doc = new DOMDocument();
$xsl = new XSLTProcessor();
$doc->load("data/art.xsl");
$xsl->importStyleSheet($doc);
$doc->load("data/data.xml");
echo $xsl->transformToXML($doc);
?>
</div>
This is the code that is causing the problem. When I comment it out, the background comes back.
<div id="artlist">
<?php
$doc = new DOMDocument();
$xsl = new XSLTProcessor();
$doc->load("data/art.xsl");
$xsl->importStyleSheet($doc);
$doc->load("data/data.xml");
echo $xsl->transformToXML($doc);
?>
</div>
This is the code that is causing the problem. When I comment it out, the background comes back.