I want to use XSLT to read all the XML files within a subdirectory and output the results to a single XML file, but I'm not sure how to execute the transformation.
The syntax below works if both the source uri and the output uri are directories, but it doesn't work if the source uri is a directory while the output uri is a filename.
I don't think the spaces in the uri are an issue. The syntax below does work for me, provided that the uris are in quotation marks (and provided that the source and the output are both filenames or both directories).
I'm using the Saxon HE processor, but I am willing to use another tool if necessary.
java -jar c:\saxon\saxon9he.jar -s:"C:\Temp\2011 Valid XML" -o:"C:\Temp\LookupTables.xml" -xsl:"C:\Temp\LookupTables.xsl"