Altova XMLSpy 2025 Professional Edition

Certain XMLSpy actions can be carried out from the command line. These commands are listed below:

 

Open a file

xmlspy.exe file.xml

 

Opens the file, file.xml, in XMLSpy

 

Open multiple files

xmlspy.exe file1.xml file2.xml

 

Opens the files, file1.xml and file2.xml, in XMLSpy

 

Assign an SPS file to an XML file for Authentic View editing

xmlspy.exe myxml.xml /sps mysps.sps

 

Opens the file, myxml.xml in Authentic View with mysps.sps as its SPS file. The /sps flag specifies that the SPS file that follows is to be used with the XML file that precedes the /sps flag (for Authentic View editing).

 

Open a new XML template file via an SPS file

xmlspy.exe mysps.sps

 

Opens a new XML file in Authentic View. The display will be based on the SPS and the new XML file will have a skeletal structure based on the SPS schema. The name of the newly created XML file must be assigned when saving the XML file.

 

Open an SPS file as an XML document in Text View

xmlspy.exe /raw mysps.sps

 

Opens the file mysps.sps as an XML document in Text View. The /raw flag specifies that the SPS file that follows is to be edited as an XML file.

 

© 2018-2024 Altova GmbH