blob: e887e7ecf8c05c74bb492275d7af5a876865c5e5 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>XML schema editor</title>
</head>
<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 content of XML files. </p><p>XML schemas are a proposed alternative for the document type definition
(DTD) based on XML. They 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="http://www.w3.org/TR/xmlschema-0/" target="_blank">http://www.w3.org/TR/xmlschema-0/</a> </li>
<li> <a href="http://www.w3.org/TR/xmlschema-1/" target="_blank">http://www.w3.org/TR/xmlschema-1/</a> </li>
<li> <a href="http://www.w3.org/TR/xmlschema-2/" target="_blank">http://www.w3.org/TR/xmlschema-2/</a> </li>
</ul>
<p>This product provides an XML schema editor for creating, viewing, and validating
XML schemas. Using the XML schema editor, you can do the following:</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>
</ul>
<p>The XML schema support in the XML schema editor is based on the </p>
<p><a href="http://www.w3.org/TR/xmlschema-0/" target="_blank">W3C
XML Schema Recommendation Specification of 2 May 2001</a></p>
<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>
</ul>
</div>
<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>
</ul>
</div>
</div>
<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 />
</p>
</div><p>
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
</p>
</body>
</html>