Im using the domxml to read in my file... however, when i do this:
if(!$dom = domxml_open_file("g.xml")) {
echo "Error while parsing the document\n";
exit;
}
$root = $dom->document_element();
var_dump($root);
[g.xml]
<?xml version="1.0"?>
<!DOCTYPE GLOSSARY SYSTEM "glossary.dtd">
<GLOSSARY>
<EXPLANATION INDEX="Alternate valuation" DEFINITION="" />
</GLOSSARY>
it returns an array starting with glossary... i was wondering if theres anyway to fetch the dtd...
thanx in advance
justin