#-
POLITECHNIKA RZESZOWSKA - WydzW Elektrotechniki I Informatyki
import java.io.*; import java.util.*; import javax.xml.transform.*; import j avax.xml.t rans form.st ream.* ; public class SimpleXSLT {
public static void main(String[] args) { try {
StreamSource xsl = new StreamSource(new
StreamSource source = r
FileInputStream("SimpleXSLT.xsl”)); i StreamSource(new FileInputStream("SimpleXSLT.xml")); StreamResult result = new StreamResult(System.out);
TransformerFactory factory =
TransformerFactory.newInstanoeO; Transformer transformer = factory.neiwTransformer (xsl) ; transformer.transform(source, result);
) catch (Exception e) {
System.out.println(e);
}
' JAVA Wykład 11
Cófiytąhl® 2U12 Jan HOJKUP