blob: 569728699926f30725149d3daa5d3c6029dc87b9 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>XML schema editor</title>
<body id="cxmlsced"><a name="cxmlsced"><!-- --></a>
<h1 class="topictitle1">XML schema editor</h1>
<div><p>XML schemas are an XML language for describing and constraining the
the content of XML files.</p>
<p>XML schemas are a formal specification of element names that indicates
which elements are allowed in an XML file, and in which combinations. A schema
is functionally equivalent to a DTD, but is written in XML; a schema also
provides for extended functionality such as data typing, inheritance, and
presentation rules.</p>
<p>For more information on XML schema, refer to:</p>
<ul><li> <a href="" target="_blank"></a> </li>
<li> <a href="" target="_blank"></a> </li>
<li> <a href="" target="_blank"></a> </li>
<p>This product provides an XML schema editor for creating, viewing, and validating
XML schemas. Using the XML schema editor, you can:</p>
<ul><li>Create and delete XML schema components such as complex types, simple
types, elements, attributes, attribute groups, and groups</li>
<li>Edit XML schemas</li>
<li>Import existing XML schemas for structured viewing</li>
<p>The XML Schema specification from the W3C Web site is used for validation.</p>
<div class="skipspace"><h4 class="sectiontitle">XML schema editor views - Graph, Outline, Properties, and
Source</h4>There are four main views you can work with in the XML schema
editor:<ul><li>Graph - the Graph view provides a graphical way to edit your schema</li>
<li>Outline - the Outline view shows you the main components in your XML schema.
You can use this view to add and remove certain components.</li>
<li>Properties - the Properties view enables you to edit the properties of
your XML schema components</li>
<li>Source - the Source view enables you to edit your source code directly</li>
<div class="skipspace"><h4 class="sectiontitle">Status of the XML schema</h4><p></p>
<p>Three status indicators
for the schema are available. They are in the bottom right corner:</p>
<ul><li> <span class="uicontrol">Writable</span> or <span class="uicontrol">Read Only</span>. </li>
<li> (Source view only) <span class="uicontrol">Smart Insert</span> or <span class="uicontrol">Overwrite</span>.
To toggle between these modes, press the <span class="uicontrol">Insert</span> button
on your keyboard.</li>
<li> <span class="uicontrol">Line</span> and <span class="uicontrol">column</span> number. </li>
<div><p><b class="reltaskshd">Related tasks</b><br />
<a href="../topics/tcxmlsch.html" title="You can create an XML schema and then edit it using the XML schema editor.">Creating XML schemas</a><br />
<a href="../topics/tedtschm.html" title="After you create an XML schema, you can edit its various properties, such as its namespace and prefix.">Editing XML schema properties</a><br />
<a href="../topics/tvdtschm.html" title="Validating an XML schema determines whether the current state of the XML schema file is semantically valid. Any errors will be displayed in the Problems view.">Validating an XML schema</a><br />