The XML Expat parser functions are part of the PHP core. There is no installation needed to use these functions.
The XML file below will be used in our example:
< ?xml version="1.0" encoding="ISO-8859-1"? ><><>Tove< /to ><>Jani< /from ><>Reminder< /heading ><>Don't forget me this weekend!< /body >< /note >