I need a little help.
I'm using XMLStarlet for validation my XML file. I already make shell script in Linux were with command: if xmlstarlet val xyz.xml > /dev/null 2>&1; he will return 1 if file is valid and execution of code inside my if will continue.
How I can make similar thing in Windows batch file? If I give command xmlstarlet val xyz.xml, he is returning xyz.xml - valid. How I can use this for if statement? Thx in advance for answers.
BR, Igor
Aucun commentaire:
Enregistrer un commentaire