Altova SchemaAgent 2025

Using XMLSpy as a SchemaAgent Client

Home Prev Top Next

In the previous sections of the tutorial, you have created include, import and redefine relationships between schemas. When you create a relationship using SchemaAgent Client, the corresponding include, import or redefine statement is automatically added to the XML schema.

 

In this section of this tutorial, you will learn how to use XMLSpy to do the actual including, importing and redefining of individual components of the schemas. Specifically, you will learn how to do the following:

 

Connect XMLSpy to a SchemaAgent server

Make elements of a content model into global complex types

Include complex types in a different schema

Redefine types in XMLSpy

Import complex types from schemas using different namespaces

Include complex types directly in XMLSpy

 

Prerequisites

Make sure that XMLSpy is installed.

 

Commands used in this section

In this section of the tutorial, you will use the Schema/WSDL View of XMLSpy exclusively. The following commands are used:

 

Icon

Command name

Description

ic_connect-to-server

Connect to SchemaAgent Server

This icon is located in the Schema design toolbar. Click this icon to open the Connect to SchemaAgent Server dialog box where you can choose a server to connect to.

ic_component

Display Diagram (or Display Content Model View)

This icon is located to the left of all global components in Schema Overview. Click this icon to display the content model of the associated global component.


Make Global

This command is included in the context menu that opens when you right-click an element in the Content Model View. Use this command to make this element into a new global element.


Add Child | Element

This command is included in the context menu that opens when you right-click a sequence element in the Content Model View. Use this command to add a new child element to the content model.

ic_schem_ins

Insert

This icon is located at the top left-hand corner of the Schema Overview. Clicking the icon enables you to insert a global component before the selected element.

ic_schema-overview

Display All Globals

This icon is located at the top left-hand corner of the Content Model View. Clicking the icon switches the view to Schema Overview, which displays all global components.

© 2018-2024 Altova GmbH