This function returns the root element node of a document.
The following example returns just the element with name CHAPTER and prints it. The other node -- the comment -- is not returned.
Précédent | Sommaire | Suivant |
DomDocument->doctype | Niveau supérieur | DomDocument->dump_file |