Ok I'm sorry but my code seems to have a little mistake, the command I use is :
$doc = domxml_new_doc("1.0");
Result : <?xml version="1.0" ?>
$doc = ???
Result : <!DOCTYPE LISTE_RAPPORT SYSTEM "DTD_TEST.DTD" >
Now I've an other question, my DTD_TEST.DTD looks like this :
...
<!ELEMENT TITLE (CDATA)>
<!ELEMENT PROF_RESP (CDATA)>
<!ELEMENT ETUDIANT (CDATA)>
..
and I want to specify that the title can't be nul. The XML document can't have somthing like this :
<TITLE></TITLE> <!-- False !!!! -->
<PROF_RESP>AAAAAA</PROF_RESP>
<ETUDIANT>BBBBB</ETUDIANT>
Is it possible in my DTD ?