News Feed
Jobs Feed
Sections




News Archive
Christian Stocker's Blog:
Added DOMNodegetNodePath
July 17, 2006 @ 06:37:13

Christian Stocker shares in this new blog post about an update he's made to the DOM functionality in PHP - adding the getNodePath feature.

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.

He gives a code example and notes that more information about XML functionality improvements will be coming from his blog soon.

1 comment voice your opinion now!
dom xml functionality DOMNode getNodePath xmlGetNodePath dom xml functionality DOMNode getNodePath xmlGetNodePath


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Bulletproofing Database Interactions with PHPUnit's Database Extension

Zend Developer Zone: The Storage Medium

IBM developerWorks: Convert XML to JSON in PHP

David Goodwin's Blog: PHP DateTime vs mktime / strtotime in Propel

PHPBuilder.com: PHP Simple HTML DOM Parser: Editing HTML Elements in PHP


Community Events











Don't see your event here?
Let us know!


release tool community podcast phpunit code functional series zendframework2 example interview testing language unittest application object opinion introduction development framework

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework