# XML Processing PHP processes XML using two main approaches: SimpleXML for straightforward access to XML data as objects, and the DOM extension for full programmatic control over the document tree. `XMLReader` handles large XML files efficiently by streaming rather than loading the entire document into memory. Visit the following resources to learn more: - [@official@XML Processing](https://www.php.net/manual/en/book.xml.php)