This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.xml.transform.*; | |
import javax.xml.XMLConstants; | |
import javax.xml.transform.stream.StreamResult; | |
import javax.xml.transform.stream.StreamSource; | |
import java.io.File; | |
public class XsltTransform { | |
public static void main(String[] args) throws TransformerException { | |
Source xslt = new StreamSource(new File(args[0])); | |
Source xml = new StreamSource(new File(args[1])); |