Just needed a couple days away from the problem.
This works like a champ except I want to get rid of my urls appearing as; for example
www.example.com/selectmenu.php?name=events
instead of
www.example.com
<?
$name=$_GET['name'];
//$name = $_REQUEST['name'];
$xp = new XsltProcessor();
// create a DOM document and load the XSL stylesheet
$xsl = new DomDocument;
$xsl->load('index.xsl');
// import the XSL styelsheet into the XSLT process
$xp->importStylesheet($xsl);
// create a DOM document and load the XML data
$xml_doc = new DomDocument;
$xml_doc->load('index.xml');
//$xp->setParameter('','name', $name);
//$proc->transform;
$xp->setParameter('', 'name', $name);
if ($html = $xp->transformToXML($xml_doc)) {
echo $html;
} else {
trigger_error('XSL transformation failed.', E_USER_ERROR);
}
Paul Hickey