This issue came up because I had a single XML document, and in one of the sections I had to output the list of items if none were specificed, and if one was specificed to only output that node. So this FAQ simply covers how to transform XML w/ XSL documents into a usable state, but also how to take data from PHP and pass them into the XSL parser.
// Xml and XSL files $xml_file = "./sections/sitedata.xml"; $xsl_file = "./sections/".$page.".xsl";
//Check for Extra Parameters $xtra = "A Value;" /* you can also give multiple by changing $xtra into $xtra = array("name" => "value", "name2" => "value2"); then changing out the array('xtra' => $xtra) to just $xtra. */