<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 09:22:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Searching and Replacing Nodes with SimpleXML in PHP 5 (Part 3)]]></title>
      <guid>http://www.phpdeveloper.org/news/5686</guid>
      <link>http://www.phpdeveloper.org/news/5686</link>
      <description><![CDATA[<p>
DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Searching-and-Replacing-Nodes-with-SimpleXML-in-PHP-5/">part three</a> of their "working with SImpleXML in PHP5" series today, focusing this time on the searching and replacing of nodes within a loaded XML string.
</p>
<blockquote>
So far, the couple of functions that I mentioned before actually do a good job of  parsing simple XML files and strings. However, the "simpleXML" library has a few additional handy functions that I'd like to show you in this last tutorial. That said, in the next few lines, I'll be covering these functions, in order to demonstrate how to quickly search and replace nodes within XML data strings.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Searching-and-Replacing-Nodes-with-SimpleXML-in-PHP-5/">start with</a> some node comparison and locating the nodes inside of the XML (with a little help from XPath). Once they're found, they show how to replace the node itself with the asXML method PHP provides. Finally, they give a more "real life" example of how to blend it all together.
</p>]]></description>
      <pubDate>Mon, 26 Jun 2006 07:13:48 -0500</pubDate>
    </item>
  </channel>
</rss>
