Hi, I want to set id of an element. I'm using php dom. I could not understand how following will work.
DOMElement::setIdAttribute ( string $name , bool $isId )
The only description I found for this in manual is - Declares the attribute name to be of type ID.
How can I do this ?