Hacking with PHP has been updated for PHP 7 - click here! >>


  • 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.


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.