

<?php
//phpinfo();

error_reporting(E_ALL);
ini_set("display_errors","1");

$xp = new XSLTProcessor();

//create a DOM document and load the XSL stylesheet
$xsl = new DOMDocument;

$xsl->load ('getuserTable.xsl');
//import the XSL stylesheet into the XSLT process
$xp->importStyleSheet($xsl);

//create a DOM document and load the XML data
$xml_doc = new DOMDocument;
$xml_doc->load('domain.xml');

//transform the XML into HTML using the XSL file
$html = $xp->transformToXML($xml_doc)
or exit ( 'XSL transformation failed - ' . E_USER_ERROR );

  echo $html;

return;
?> 

