Didn't we have this at one time? Maybe not, I don't remember. It is
basically a scalar-to-object converter. Given a string, it wants the
balloon blown up. It wants an attribute node whose name is the passed in
string.
document.getAttributeNode = function (name)
{
rv = document.createElement("Attr");
rv.setAttribute(name,this[name.toLowerCase()]);
return rv;
}
document.setAttributeNode = function(name, v) {
this.attributes[name.toLowerCase()] = v;
this[name.toLowerCase()] = v;
}
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev