Chapter 8. Open Source PHP/XML Alternatives
"The absence of alternatives clears the mind marvelously"Henry Kissinger
The nice thing about the open source community is that you're never short of choices. This is particularly true in the case of a language such as PHP, which allows developers tremendous freedom in extending and contributing to the core API. This open source approach has been the driving force behind PHP's popularity, and has also led to the creation of a huge pool of robust, free PHP widgets by independent developers all over the planet.That's where this chapter comes init discusses alternative implementations of the PHP functions described in earlier chapters. Created by PHP developers from around the world and released to the community at large, these implementations make it possible to perform advanced XML processing with PHPeven in environments in which PHP's native XML extensions are not supported!This chapter examines four popular open source XML/PHP implementations, each designed to meet a specific requirement. In addition to a brief description of the way each works, this chapter also re-creates examples from previous chapters using these non-native implementations, in order to demonstrate their viability in the real world.