Altova XMLSpy 2024 Enterprise Edition

This section contains listings of JScript code that demonstrate the following basic functionality:

 

Start application or attach to a running instance

Simple document access

Iteration

Error handling

Events

Import and export of data

 

Example files

The code listings in this section are available in example files that you can test as is or modify to suit your needs. The JScript example files are located in the JScript subfolder of the API Examples folder:

 

 

Windows 7, Windows 8, Windows 10, Windows 11

C:\Users\<username>\Documents\
Altova\XMLSpy\2024\Examples

 

The example files can be run in one of two ways:

 

From the command line: Open a command prompt window, change the directory to the path above, and type the name of one of the example scripts (for example, Start.js).

From Windows Explorer: In Windows Explorer, browse for the JScript file and double-click it.

 

The script is executed by Windows Script Host that is packaged with Windows operating system. For more information about Windows Script Host, refer to MSDN documentation (https://msdn.microsoft.com).

 

© 2017-2023 Altova GmbH