Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


How to call msxsl from a batch file?

From: PMChick118@-----------.---------.---
To: NULL
Date: 2/3/2005 8:03:00 PM
I need to do a quick and dirty verification of an xsl.  I can successfully 
run msxsl for a single file from the command line or from a batch file, but 
what I need to do is to run it over several hundred files all at once.  I 
can't figure out how to do this since msxsl from what I can tell only take a 
single input file name and a single output file name.  Has anyone done this?  
I'm new to batch files, but I saw there is a "for /r" command that looks like 
it might be useful, but I don't know how I would use that with msxsl...  Any 
help would be greatly appreciated.  Below is an exampel of my starting batch 
file that makes this work for a single file...

:: transform.bat
@ECHO OFF

C:
CD\My Folder
msxsl C:\My Folder\InputFile.xml MyTransform.xsl -o C:\My 
Folder\OutputFile.xml



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent