comparison gnv/src/main/java/de/intevation/gnv/util/XSLTransformer.java @ 38:fccf90761825

Format Code to max 80 Chars per Row better Formatter choosen gnv/trunk@174 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 02 Oct 2009 09:10:36 +0000
parents ad381cc47217
children 14eecfde4607
comparison
equal deleted inserted replaced
37:1ea46f542d07 38:fccf90761825
36 public XSLTransformer() { 36 public XSLTransformer() {
37 super(); 37 super();
38 } 38 }
39 39
40 public String transform(Node toTransform, String encoding, 40 public String transform(Node toTransform, String encoding,
41 String templateFileName) { 41 String templateFileName) {
42 String resultValue = null; 42 String resultValue = null;
43 try { 43 try {
44 XMLUtils xmlUtils = new XMLUtils(); 44 XMLUtils xmlUtils = new XMLUtils();
45 Source templateSource = new StreamSource(new File(templateFileName)); 45 Source templateSource = new StreamSource(new File(templateFileName));
46 TransformerFactory xformFactory = TransformerFactory.newInstance(); 46 TransformerFactory xformFactory = TransformerFactory.newInstance();

http://dive4elements.wald.intevation.org