Code example for DOMImplementation

Methods: createDocumentcreateDocumentType

		DOMImplementation domImpl = documentBuilder.getDOMImplementation();
		// We needed to reference using the full class name here because we already have  
		//  a class named "DocumentType" 
		org.w3c.dom.DocumentType doctype = domImpl.createDocumentType(
		       "-//Apple Computer//DTD PLIST 1.0//EN", 
		return domImpl.createDocument(null, "plist", doctype);
	private void buildDOM()  { 
		Element plist = this.document.getDocumentElement();
		// Open the top level dictionary, <dict> 
Stop searching for code, let great code find you!  Add Codota to your java IDE