Simulate XQuery and XInclude functionality with PHP
Enjoy the power of XML data processing in web programming
From the developerWorks archives
Date archived: December 6, 2016 | First published: September 21, 2010
Many browsers can handle XML in general, but are currently weak in their support of XQuery and XInclude. You need to work around this issue when you build web applications that combine and process XML-structured data from multiple sources. Using PHP is one solution. This article first shows how your web pages can deliver data extracts from XML using XQuery and XInclude explicitly, and then how to do the equivalent work with PHP, all within the context of a cooperative effort among garden centers.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.