You can use AltovaXML XSLT 1.0/2.0 engine (also well-formedness and validity checking). There is free of charge community edition with direct (I mean without Java) command line interface e.g.:
AltovaXML.exe -xslt2 stylesheet.xsl -in input.xml -out output.xml
Check AltovaXML.chm help file for usage.