Although it is not as fast or small as binary formats, XML's ease of distribution has made it a very widespread format that is pretty much ubiquitous at the enterprise and public sector level.
Basic use of XML is possible with the SimpleXML extension to PHP, but you can take that much further by using both the tree-based extension and the event-based extension - both offer more flexibility.
XSLT support in PHP is excellent, and the technology allows you to manipulate XML in some very cool ways - we even managed to convert XML directly into SQL.
Want to learn PHP 7?
Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!
If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!
Next chapter: Exercises >>
Previous chapter: XSLT Conclusion
Jump to:
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.