Source for file case02_debug.php
Documentation is available at case02_debug.php
require_once('XML/Query2XML.php');
$debugLogger = &Log ::factory ('file', 'case02.log', 'Query2XML');
$query2xml->enableDebugLog ($debugLogger);
$query2xml->startProfiling ();
$dom = $query2xml->getXML (
LEFT JOIN album ON album.artist_id = artist.artistid",
'rootTag' => 'music_library',
'idColumn' => 'artistid',
header('Content-Type: application/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
require_once('XML/Beautifier.php');
$beautifier = new XML_Beautifier ();
print $beautifier->formatString ($dom->saveXML ());
require_once('File.php');
$fp->write ('case02.profile', $query2xml->getProfile (), FILE_MODE_WRITE );
Documentation generated on Mon, 11 Mar 2019 14:45:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|