importStyleSheet($xsldoc); // attach the xsl rules foreach ($_GET as $name => $value) if (($name != 'xml') && ($name != 'xsl')) $proc->setParameter('',$name,$value); echo $proc->transformToXML($xmldoc); ?>