Home. 
.

transparent

transparent

transparent

XML Schema Editor

XMLSpy® 2008 includes the original graphical XML Schema editor, with a visual design paradigm and intelligent entry helpers that help you model, edit, and document XML Schemas with ease.

Since the XML Schema editor in XMLSpy allows you to create schemas in a graphical manner, you can focus on the semantics of your schema while leaving the syntactical details of the XML Schema language to XMLSpy.

XML Schema Editor Design Menu PREMIUM Version

The Schema Design menu provides numerous choices for working with your schema in the XML Schema editor.

XML Schema editor menu

XML Schema Design - Globals

When you open an XML Schema document, the XML Schema editor displays all globally defined particles (i.e., elements, complexTypes, attributeGroups, etc.) in the XML Schema as a list in the design view:

Viewing globals in XML Schema editor

When an element, complexType, or attributeGroup is selected, the corresponding attributes and identity constraints are automatically available in entry helper windows below the list of global components.

XML Schema Design - Content Model PREMIUM Version

Clicking the tree icon next to any global component opens the detailed graphical view of its content model in the XML Schema editor.



XML Schema editor

Click picture to enlarge / reduce screenshot

Video demo of  XML Schema editor View a Flash demo of the XML Schema editor now

To edit the content model, simply drag-and-drop to rearrange elements or use the right mouse button to select context-sensitive options. You can return to the global view at any time by clicking the Display Globals icon.

With this system, you're able to edit components at a global level and then edit the content model of individual components. When a component is selected, it is highlighted in blue, and its properties are displayed in a series of editable entry helper windows.

Navigator in XML Schema  Editor

Elements can be added to the content model easily by dragging (or copying and pasting) them from the XML Schema Navigator window to the desired position in the content model.

While most parameters of an element node (such as its name, type, and major facets) can be edited directly in the tree view, the full details of the selected node are always visible (and can be edited) in the detail views in separate floating windows:

XML Schema Details

XML Schema Design - Smart Restrictions

When deriving a complex type by restriction during XML Schema development, parts of the content model of the base type are rewritten in the derived type. This can be confusing if the content model is complex, when it becomes difficult to remember exactly what the content model of the base type looks like as you’re making changes.

The graphical XML Schema editor in XMLSpy includes a way to easily visualize and edit the base type and its restrictions, helping you ensure restrictions are valid as you make changes. All components of the base type, as well as how they compare to the current restricted type, are displayed in the diagram of the content model for the restricted complex type. In addition, the XML Schema editor provides visual hints to show you all possible ways to restrict the base type, making it easy to correctly restrict the derived type.



Derivation by restriction

Icons within the content model display allow you to make changes while preserving a visual record of the original base type. For instance, clicking the “X” icon next to an element in the base type removes it and changes its display. You can add the element back at any time by clicking the “+” icon.



Derivation by restriction

The smart restrictions display supports many advanced features for visualizing restricted types, including a drop down menu that presents you with valid choices for changing compositors, “+” or “-” icons for changing the number of times element groups may occur, and much more.

The complex type restriction visualization and editing is another unique feature you'll find only in XMLSpy, the world’s leading XML and XML Schema editor.

Find in Schemas

This feature complements the already robust find-in-files capabilities of XMLSpy by adding functionality specialized for schema development. The Find in Schemas window allows you to perform detailed find and replace operations within single schemas and across complex multi-file schemas with ease. Several options for find/replace are available, and multiple tabs allow you to perform multiple searches without losing your previous results.

Additional Features

In addition to offering these flexible editing capabilities, the XMLSpy XML Schema editor is also highly configurable. It lets the user choose which parameters should be displayed and how the display should be formatted:

XML Schema editor tree view

The XML Schema editor provides support for aggregated schemas, allowing you to import schema components from other namespaces, include components from the same namespace, or globally redefine an existing schema component to meet your current needs. You can also connect to the SchemaAgent® 2008 Server and have access to all schemas in the SchemaAgent® 2008 server path as well as their components in the XMLSpy info windows and entry helpers. When you insert one of these components, you can choose which schema includes the definition you require, and SchemaAgent® 2008 will automatically create the required include/import/redefine statements. Learn more about using the XMLSpy XML Schema editor with SchemaAgent.

If you want to base your content model on an existing structure, the XML Schema editor in XMLSpy provides utilities to automatically infer XML Schemas from XML instance documents and relational databases, or convert between XML Schema and DTD dialects – with the click of a button.



Generating an XML Schema

You can also automatically generate an XML Schema or DTD from use cases, and inversely, you can auto-generate sample XML instance documents from your XML Schema/DTD to test its functionality.



XML Schema Documentation PREMIUM Version

XML Schema has gained wide-spread acceptance, and therefore it's important to provide comprehensive documentation for published schemas. The XMLSpy XML Schema editor makes it easy for schema designers to produce such documentation by offering a highly configurable automatic schema documentation generator that allows you to save schema diagram snapshots and can automatically generate full documentation, including all diagrams, source fragments, and convenient cross-references.

XML Schema Documentation Dialog

The documentation includes all element properties and attribute annotations and can be generated in HTML or Microsoft Word format. An example of the documentation for one element in HTML is below:

XML Schema Documentation Example

Experience the power of the graphical XML Schema editor - Download a free 30-day trial of XMLSpy.



transparent
Download
Pricelist
Buy
Video
Comparison
Datasheet
Print
Mail
Digg
delicious
Free Processor
.

AltovaXML

AltovaXML is a an XML standards processor that includes the Altova XSLT 1.0, XSLT 2.0, XQuery, and XML validation engines for royalty-free use in your custom applications.

.
.
.
.

SchemaAgent
Discover how SchemaAgent can revolutionize the way you design and manage XML Schemas.

.
XPath Analyzer
.

XMLSpy contains the powerful XPath Analyzer that greatly assists you in building and verifying XPath expressions, which are used to define XML Schema Identity Constraints.

.
more XPath features...more

XML Schema Links
.

XML Schema is a Recommendation (REC) from the W3C that was published on May 2, 2001:

XML Schema Part 0: Primer
XML Schema Part 1: Structures
XML Schema Part 2: Datatypes

.

For a good introduction to XML Schema, review these articles on the O'Reilly Network xml.com site:

.Using XML Schemas
.XML Schema Structures Quick Reference
.XML Schema Datatypes Quick Reference

.
.
.

transparent

transparent