Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;

/**
 *  
 *
 * @author Costin Manolache
 */
public class Main {

    public static void removeAttribute(Node node, String attName) {
        NamedNodeMap attributes = node.getAttributes();
        attributes.removeNamedItem(attName);
    }

}