* @return the replaced attribute node, if any
*/
public Attr jsxFunction_setAttributeNode(final Attr newAtt) {
final String name = newAtt.jsxGet_name();
final String value = newAtt.jsxGet_value();
final Attr replacedAtt = (Attr) jsxFunction_getAttributeNode(name);
if (replacedAtt != null) {
replacedAtt.detachFromParent();
}
getDomNodeOrDie().setAttribute(name, value);
return replacedAtt;
}