blob: 56edaf1e3d664318179f5a85458fe11856f78b42 [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 lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 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 http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="concept" name="DC.Type" />
<meta name="DC.Title" content="XML schema editor" />
<meta name="abstract" content="This product provides an XML schema editor for creating, viewing, and validating XML schemas. XML schemas are a formal specification of element names that indicates which elements are allowed in an XML file, and in which combinations." />
<meta name="description" content="This product provides an XML schema editor for creating, viewing, and validating XML schemas. XML schemas are a formal specification of element names that indicates which elements are allowed in an XML file, and in which combinations." />
<meta content="XML schema editor, overview" name="DC.subject" />
<meta content="XML schema editor, overview" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/tcxmlsch.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/tedtschm.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/tvdtschm.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="cxmlsced" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>XML schema editor</title>
</head>
<body id="cxmlsced"><a name="cxmlsced"><!-- --></a>
<h1 class="topictitle1">XML schema editor</h1>
<div><p>This product provides an XML schema editor for creating, viewing,
and validating XML schemas. XML schemas are a formal specification of element
names that indicates which elements are allowed in an XML file, and in which
combinations. </p>
<p>A schema is functionally equivalent to a DTD, but is written in XML. A
schema also provides extended functionality such as data typing, inheritance,
and presentation rules.</p>
<p>For more information on XML schema, see the following:</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>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>
</ul>
<p>The XML Schema specification from the W3C Web site is used for validation.</p>
<div class="section"><h4 class="sectiontitle">XML schema editor views - Design, Outline, Properties, and
Source</h4>There are four main views you can work with in the XML schema
editor:<ul>
<li>Design - the Design 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="section"><h4 class="sectiontitle">Status of the XML schema</h4><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> Line and column number (displayed in the format <kbd class="userinput">column
# : line #</kbd>)</li>
</ul>
</div>
</div>
<div><div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/tcxmlsch.html" title="You can create an XML schema and then edit it using the XML schema editor. Using the XML schema editor, you can specify element names that indicates which elements are allowed in an XML file, and in which combinations.">Creating XML schemas</a></div>
<div><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></div>
<div><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 XML schemas</a></div>
</div>
</div>
</body>
</html>