Re: [PHP] Re: DOMDocument->getElementById() isn't working

2008-01-07 Thread Christoph Boget
> > > that one of the nodes has an id of 'custom'. However, when I try to get > the > > element directly using getElementById(), it doesn't return the node > > properly. Am I doing something wrong? > > A common problem. See here: > http://wiki.flux-cms.org/display/BLOG/GetElementById+Pitfalls > >

[PHP] Re: DOMDocument->getElementById() isn't working

2008-01-06 Thread Colin Guthrie
Christoph Boget wrote: > Getting the elements by tag name, while iterating through the list I see > that one of the nodes has an id of 'custom'. However, when I try to get the > element directly using getElementById(), it doesn't return the node > properly. Am I doing something wrong? A common p