News Feed
Sections




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

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

Maarten Balliauw's Blog: PHPLinq 0.4.0 released on CodePlex!

MaltBlue.com: Zend Form Mastery with Zend_Config - Part 2, Core Form Configuration

PHPBuilder.com: Using XML - A PHP Developer\'s Primer

Developer Tutorials Blog: 5 PEAR gems: free php scripts that will help you code quicker

PHPBuilder.com: Using XML - A PHP Developer\'s Primer, Part 2


Community Events

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


podcast application interview community opinion language list laravel php7 part2 api composer yii2 example symfony framework project programming series introduction

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