POLITECHNIKA RZESZOWSKA - Wyttaal Etektrottcfm*) i Informatyki
StreamSource xsl = new StreamSource(new
FileInputStream("xslF±le.xsl"));
TransformerFactory tf = TransformerFactory.newInstanceO;
Transformer transformer = tf.newTransfonner(xsl);
StreamSource source = new StreamSource(new
FileInputStream("xmlFlle.xnil")); StreamResult result = new StreamResult(new
FileOutputStream("htmlFile.html"));
Przekształcenie pliku XML do HTML - metoda transform transformer. transform (source, result) ;
JA ZA WyUad 11
Copyright © 2012 Jan PROKOP
153/236