Altova XMLSpy 2025 Professional Edition

XML Schemas: Advanced

Home Prev Top Next

Now that you have created a basic schema, we can move forward to a few advanced aspects of schema development.

 

Objective

In this section, you will learn how to:

 

Work with complex types and simple types, which can then be used as the types of schema elements.

Create global elements and reference them from other elements.

Create attributes and their properties, including enumerated values.

 

You will start this section with the basic AddressFirst.xsd schema you created in the first part of this tutorial.

 

Commands used in this section

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

 

ic_component

Display Diagram (or Display Content Model View). This icon is located to the left of all global components in Schema Overview. Clicking the icon causes the content model of the associated global component to be displayed.

ic_back2global

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.

ic_schem_app

Append. The Append icon is located at the top left-hand corner of the Schema Overview. Clicking the icon enables you to add a global component.

 

© 2018-2024 Altova GmbH