Code example for Document

Methods: getDoctype

0
        childValue = child.getNodeValue();
        assertEquals("childValue", "importedText", childValue);
    } 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Doesn't verify DOMException.", 
        method = "importNode", 
        args = {org.w3c.dom.Node.class, boolean.class}
    ) 
    public void testImportNode2() throws Throwable { 
        Document doc;
        Document aNewDoc;
        CDATASection cDataSec;
        Node aNode;
        Document ownerDocument;
        DocumentType docType;
        String system;
        String value;
        doc = (Document) load("staffNS", builder);
        aNewDoc = (Document) load("staffNS", builder);
        cDataSec = aNewDoc.createCDATASection("this is CDATASection data");