Hi Boris,
div.setAttribute("fruit", "orange"); div.attributes.fruit = "apple"; alert(div.attributes.fruit); // apple div.removeAttribute("fruit"); alert(div.attributes.fruit); // applealerts "apple" in current trunk Firefox both times, for example.
Okay, we will try to follow WebIDL definition for Prince then, and hopefully that will give us some level of browser compatibility :)
Best regards, Michael -- Prince: Print with CSS! http://www.princexml.com
