News Feed
Sections




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

Adam Trachtenberg's Blog:
PHP Trivia Contest DOM + Default Namespaces
September 27, 2006 @ 07:25:00

Alright power PHP users out there, Adam Trachtenburg has a little quiz for you to see how much you know about working with the DOM in PHP.

Here's a question based on a recent PHP bug report which shows why DOM is fun. [...] But how do you retrieve it (the namespace URI of the root node) using DOMElement::GetAttributeNS()? What are the two magical input parameters to coax that value out?

The code is simple, but it's an interesting problem - anyone have any answers?

0 comments voice your opinion now!
trivia contest dom handling namespace uri root node trivia contest dom handling namespace uri root node


blog comments powered by Disqus

Similar Posts

Sean Coates' Blog: Actually Solving a Problem (believe it or not)

DevShed: Handling HTML Strings and Files with the DOM XML Extension in PHP 5

Matthew Weier O'Phinney's Blog: A Primer for PHP 5.3's New Language Features

NetTuts.com: Refactoring Legacy Code: Part 2 - Magic Strings & Constants

Chris Hartjes' Blog: Namespaces in PHP? Why *wouldn't* you want them?


Community Events





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


wordpress developer laravel code application threedevsandamaybe install introduction language release configure list community unittest podcast interview bugfix series library api

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