About the Author
Adam Trachtenberg is the Director of the LinkedIn Developer Network, where he oversees developer relations and marketing for the LinkedIn Platform.
Before LinkedIn, Adam worked at eBay in platform product management and marketing. Even earlier, he co-founded Student.Com and TVGrid.com.
Adam is the author of PHP Cookbook and Upgrading to PHP 5. He lives in San Francisco.
See All Posts by This Author
September 26th, 2006 • Related
• Filed Under
Here’s a question based on a recent PHP bug report which shows why DOM is fun.
Given the following line of PHP:
$xml = DOMDocument::loadXML(
The easy way to print the namespace URI of the root node,
But how do you retrieve it using
DOMElement::GetAttributeNS()? What are the two magical input parameters to coax that value out?