diff --git a/src/main/java/org/fxt/freexmltoolkit/controller/XsltController.java b/src/main/java/org/fxt/freexmltoolkit/controller/XsltController.java index eea34e0b..ee3c9664 100644 --- a/src/main/java/org/fxt/freexmltoolkit/controller/XsltController.java +++ b/src/main/java/org/fxt/freexmltoolkit/controller/XsltController.java @@ -146,6 +146,7 @@ private void checkFiles() { if (xmlFile == null && xmlFileLoader.getFile() != null) { this.xmlFile = xmlFileLoader.getFile(); + this.xmlService.setCurrentXmlFile(xmlFile); } if (xmlService.getCurrentXmlFile() != null && xmlService.getCurrentXmlFile().exists() @@ -193,7 +194,6 @@ private void renderText(String output) { codeArea.replaceText(0, 0, output); } - private void renderHTML(String output) { new File("output").mkdirs(); final String outputFileName = "output" + File.separator + "output.html";