blob: 56edaf1e3d664318179f5a85458fe11856f78b42 [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?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">
2<html lang="en-us" xml:lang="en-us">
syeshinf3d0d4b2005-07-27 18:33:03 +00003<head>
kprice159fa582006-05-08 21:30:45 +00004<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
kpricede20a692008-04-24 00:27:47 +00005<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" />
6<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
kprice159fa582006-05-08 21:30:45 +00007<meta content="public" name="security" />
8<meta content="index,follow" name="Robots" />
9<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))' />
10<meta content="concept" name="DC.Type" />
11<meta name="DC.Title" content="XML schema editor" />
kprice43d0c0f2006-05-18 15:56:09 +000012<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." />
13<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." />
kprice159fa582006-05-08 21:30:45 +000014<meta content="XML schema editor, overview" name="DC.subject" />
15<meta content="XML schema editor, overview" name="keywords" />
kprice43d0c0f2006-05-18 15:56:09 +000016<meta scheme="URI" name="DC.Relation" content="../topics/tcxmlsch.html" />
17<meta scheme="URI" name="DC.Relation" content="../topics/tedtschm.html" />
18<meta scheme="URI" name="DC.Relation" content="../topics/tvdtschm.html" />
kprice159fa582006-05-08 21:30:45 +000019<meta content="XHTML" name="DC.Format" />
20<meta content="cxmlsced" name="DC.Identifier" />
21<meta content="en-us" name="DC.Language" />
22<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
syeshinf3d0d4b2005-07-27 18:33:03 +000023<title>XML schema editor</title>
syeshin8f077832005-09-06 04:22:45 +000024</head>
syeshinf3d0d4b2005-07-27 18:33:03 +000025<body id="cxmlsced"><a name="cxmlsced"><!-- --></a>
26
kprice159fa582006-05-08 21:30:45 +000027
syeshinf3d0d4b2005-07-27 18:33:03 +000028<h1 class="topictitle1">XML schema editor</h1>
kprice159fa582006-05-08 21:30:45 +000029
30
31
32
kprice43d0c0f2006-05-18 15:56:09 +000033<div><p>This product provides an XML schema editor for creating, viewing,
kpricede20a692008-04-24 00:27:47 +000034and validating XML schemas. XML schemas are a formal specification of element
35names that indicates which elements are allowed in an XML file, and in which
36combinations. </p>
kprice159fa582006-05-08 21:30:45 +000037
kpricede20a692008-04-24 00:27:47 +000038<p>A schema is functionally equivalent to a DTD, but is written in XML. A
39schema also provides extended functionality such as data typing, inheritance,
kprice43d0c0f2006-05-18 15:56:09 +000040and presentation rules.</p>
kprice159fa582006-05-08 21:30:45 +000041
kpricede20a692008-04-24 00:27:47 +000042<p>For more information on XML schema, see the following:</p>
kprice159fa582006-05-08 21:30:45 +000043
44<ul>
45<li> <a href="http://www.w3.org/TR/xmlschema-0/" target="_blank">http://www.w3.org/TR/xmlschema-0/</a> </li>
46
syeshinf3d0d4b2005-07-27 18:33:03 +000047<li> <a href="http://www.w3.org/TR/xmlschema-1/" target="_blank">http://www.w3.org/TR/xmlschema-1/</a> </li>
kprice159fa582006-05-08 21:30:45 +000048
syeshinf3d0d4b2005-07-27 18:33:03 +000049<li> <a href="http://www.w3.org/TR/xmlschema-2/" target="_blank">http://www.w3.org/TR/xmlschema-2/</a> </li>
kprice159fa582006-05-08 21:30:45 +000050
syeshinf3d0d4b2005-07-27 18:33:03 +000051</ul>
kprice159fa582006-05-08 21:30:45 +000052
kprice43d0c0f2006-05-18 15:56:09 +000053<p>Using the XML schema editor, you can:</p>
kprice159fa582006-05-08 21:30:45 +000054
55<ul>
56<li>Create and delete XML schema components such as complex types, simple
57types, elements, attributes, attribute groups, and groups.</li>
58
59<li>Edit XML schemas.</li>
60
61<li>Import existing XML schemas for structured viewing.</li>
62
syeshinf3d0d4b2005-07-27 18:33:03 +000063</ul>
kprice159fa582006-05-08 21:30:45 +000064
syeshinf3d0d4b2005-07-27 18:33:03 +000065<p>The XML Schema specification from the W3C Web site is used for validation.</p>
kprice159fa582006-05-08 21:30:45 +000066
kprice43d0c0f2006-05-18 15:56:09 +000067<div class="section"><h4 class="sectiontitle">XML schema editor views - Design, Outline, Properties, and
syeshinf3d0d4b2005-07-27 18:33:03 +000068Source</h4>There are four main views you can work with in the XML schema
kprice159fa582006-05-08 21:30:45 +000069editor:<ul>
kprice43d0c0f2006-05-18 15:56:09 +000070<li>Design - the Design view provides a graphical way to edit your schema</li>
kprice159fa582006-05-08 21:30:45 +000071
syeshinf3d0d4b2005-07-27 18:33:03 +000072<li>Outline - the Outline view shows you the main components in your XML schema.
73You can use this view to add and remove certain components.</li>
kprice159fa582006-05-08 21:30:45 +000074
syeshinf3d0d4b2005-07-27 18:33:03 +000075<li>Properties - the Properties view enables you to edit the properties of
76your XML schema components</li>
kprice159fa582006-05-08 21:30:45 +000077
syeshinf3d0d4b2005-07-27 18:33:03 +000078<li>Source - the Source view enables you to edit your source code directly</li>
kprice159fa582006-05-08 21:30:45 +000079
syeshinf3d0d4b2005-07-27 18:33:03 +000080</ul>
81</div>
kprice159fa582006-05-08 21:30:45 +000082
83<div class="section"><h4 class="sectiontitle">Status of the XML schema</h4><p />
syeshinf3d0d4b2005-07-27 18:33:03 +000084<p>Three status indicators
85for the schema are available. They are in the bottom right corner:</p>
kprice159fa582006-05-08 21:30:45 +000086<ul>
87<li> <span class="uicontrol">Writable</span> or <span class="uicontrol">Read Only</span>. </li>
88
syeshinf3d0d4b2005-07-27 18:33:03 +000089<li> (Source view only) <span class="uicontrol">Smart Insert</span> or <span class="uicontrol">Overwrite</span>.
90To toggle between these modes, press the <span class="uicontrol">Insert</span> button
91on your keyboard.</li>
kprice159fa582006-05-08 21:30:45 +000092
kpricede20a692008-04-24 00:27:47 +000093<li> Line and column number (displayed in the format <kbd class="userinput">column
94# : line #</kbd>)</li>
kprice159fa582006-05-08 21:30:45 +000095
syeshinf3d0d4b2005-07-27 18:33:03 +000096</ul>
97</div>
kprice159fa582006-05-08 21:30:45 +000098
99</div>
100
kprice43d0c0f2006-05-18 15:56:09 +0000101<div><div class="reltasks"><strong>Related tasks</strong><br />
102<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>
103<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>
104<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>
105</div>
106</div>
syeshinf3d0d4b2005-07-27 18:33:03 +0000107
syeshinf3d0d4b2005-07-27 18:33:03 +0000108</body>
109</html>