XSL1 [java] xsl+xml 을 pdf파일로 변환하기 @RequestMapping(value = "/sign/convertToPDF.do") public void convertToPDF() throws IOException, FOPException, TransformerException, SAXException { // the XSL FO file File xsltFile = new File("src/main/resources/static/homepage/xml/employeesfo.xsl"); // the XML file which provides the input StreamSource xmlSource = new StreamSource(new File("src/main/resources/static/homepage/xml/_sign_20240.. 2024. 6. 19. 이전 1 다음 728x90