Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Working with Multiple Document Nodes with the DOM XML Extension in PHP 5
Mar 19, 2008 @ 12:59:49

DevShed has posted the fourth part of their series looking at working with the DOM functionality of PHP5, this time with a focus on working with multiple document nodes inside of an XML document.

It's time to learn a few other methods included with the DOM XML extension. Based upon this premise, in this fourth tutorial I'm going to show you how to get access to multiple nodes of an XML document, either for internal processing or simply for echoing to the browser.

They show you how to grab the collection of nodes to work with and how to grab data from an XML text file with load() and loadXML().

tagged: dom xml tutorial php5 load set collection object

Link:


Trending Topics: