Altova XMLSpy 2024 Enterprise Edition

The starting point for every application which uses the Application API is the Application object. This object contains general methods like import/export support and references to the open documents and any open project.

 

The Application object is created differently in various programming languages. In scripting languages such as JScript or VBScript, this involves calling a function which initializes the application's COM object. For examples, see the Programming Languages section.

 

Broad structure of the object model

The picture below shows the links between the main objects of the Application API:

 

 api_documents

 

The Application object consists of the following parts:

 

Document collection and reference to the active document.

Reference to current project and methods for creating and opening projects.

Methods to support the export to and import from databases, text files, and Word documents.

URL management.

Methods for macro menu items.

 

Once you have created an Application object you can start using the functionality of XMLSpy. In most cases, you either open a project and access the documents from there or you directly open a document via the Documents interface.

 

© 2017-2023 Altova GmbH