Re: [PHP] DOM Element default ID attribute

2007-02-23 Thread Richard Lynch
On Wed, February 21, 2007 11:44 pm, Eli wrote: > Peter Lauri wrote: >> This was not clear for me, do you mean: >> >> => >> > > No. > > Let me try to be more clear.. > Say you got the element , then I want the > DOMDocument > to automatically convert the 'key' attribute to an ID-Attribute, as > d

Re: [PHP] DOM Element default ID attribute

2007-02-22 Thread Rob Richards
Eli wrote: Let me try to be more clear.. Say you got the element , then I want the DOMDocument to automatically convert the 'key' attribute to an ID-Attribute, as done with DOMElement::setIdAttribute() function. The ID-Attribute is indexed and can be quickly gotten via DOMDocument::getElement

Re: [PHP] DOM Element default ID attribute

2007-02-21 Thread Eli
Peter Lauri wrote: This was not clear for me, do you mean: => No. Let me try to be more clear.. Say you got the element , then I want the DOMDocument to automatically convert the 'key' attribute to an ID-Attribute, as done with DOMElement::setIdAttribute() function. The ID-Attribute is

RE: [PHP] DOM Element default ID attribute

2007-02-21 Thread Peter Lauri
This was not clear for me, do you mean: => Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -Original Message- From: Eli [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 12:42 AM To: p