private void createXml() {
        DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
        try { 
            DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
            xmlCreate = docBuilder.newDocument();
        } catch (ParserConfigurationException ex) {
            Logger.getLogger(Xml.class.getName()).log(Level.SEVERE, null, ex);
        }
    }