<?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>Sat, 18 May 2013 17:10:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Added DOMNode::getNodePath]]></title>
      <guid>http://www.phpdeveloper.org/news/5806</guid>
      <link>http://www.phpdeveloper.org/news/5806</link>
      <description><![CDATA[<p>
<i>Christian Stocker</i> shares in <a href="http://blog.bitflux.ch/archive/2006/07/16/added-domnode-getnodepath.html">this new blog post</a> about an update he's made to the DOM functionality in PHP - adding the getNodePath feature.
</p>
<blockquote>
With this, you can easily get an XPath for any given DOMNode, works also for attributes, text nodes, comments and all other node types. It's basically just a simple wrapper for xmlGetNodePath from libxml2, maybe useful for some other people also.
</blockquote>
<p>
He <a href="http://blog.bitflux.ch/archive/2006/07/16/added-domnode-getnodepath.html">gives a code example</a> and notes that more information about XML functionality improvements will be coming from his blog soon.
</p>]]></description>
      <pubDate>Mon, 17 Jul 2006 06:37:13 -0500</pubDate>
    </item>
  </channel>
</rss>
