Code example for Document

Methods: createAttributeNS, createElementNS

0
//        attribute = (Attr) attributes.removeNamedItemNS(nullNS, "defaultAttr"); 
//        attribute = (Attr) attributes.getNamedItemNS(nullNS, "defaultAttr"); 
//        attrValue = attribute.getNodeValue(); 
//        assertNotNull("namednodemapremovenameditemns02", attribute); 
//        assertEquals("namednodemapremovenameditemns02_attrValue", "defaultVal", 
//                attrValue); 
//    } 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Doesn't verify DOMException.", 
        method = "removeNamedItemNS", 
        args = {java.lang.String.class, java.lang.String.class}
    ) 
    public void testRemoveNamedItemNS3() throws Throwable { 
        Document doc;
        NamedNodeMap attributes;
        Node element;
        Attr attribute;
 
        Attr attribute1;
        Attr attribute2;