blob: ba532b3a934a604e81be05a321fdcff329d4174a [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="task" name="DC.Type" />
11<meta name="DC.Title" content="Editing XML schema properties" />
12<meta name="abstract" content="After you create an XML schema, you can edit its various properties, such as its namespace and prefix." />
13<meta name="description" content="After you create an XML schema, you can edit its various properties, such as its namespace and prefix." />
kpricede20a692008-04-24 00:27:47 +000014<meta content="XML schema editor, XML schema properties, XML schema files, editing properties" name="DC.subject" />
15<meta content="XML schema editor, XML schema properties, XML schema files, editing properties" name="keywords" />
kprice159fa582006-05-08 21:30:45 +000016<meta content="XHTML" name="DC.Format" />
17<meta content="tedtschm" name="DC.Identifier" />
18<meta content="en-us" name="DC.Language" />
19<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
syeshinf3d0d4b2005-07-27 18:33:03 +000020<title>Editing XML schema properties</title>
syeshin8f077832005-09-06 04:22:45 +000021</head>
syeshinf3d0d4b2005-07-27 18:33:03 +000022<body id="tedtschm"><a name="tedtschm"><!-- --></a>
23
kprice159fa582006-05-08 21:30:45 +000024
syeshinf3d0d4b2005-07-27 18:33:03 +000025<h1 class="topictitle1">Editing XML schema properties</h1>
kprice159fa582006-05-08 21:30:45 +000026
27
28
29
syeshinf3d0d4b2005-07-27 18:33:03 +000030<div><p>After you create an XML schema, you can edit its various properties,
kprice159fa582006-05-08 21:30:45 +000031such as its namespace and prefix.</p>
32
33<div class="section"><p>The following instructions were written for the Resource perspective,
34but they will also work in many other perspectives.</p>
syeshind0bdb8e2005-10-27 17:44:14 +000035<p>To edit an XML schema's
kpricede20a692008-04-24 00:27:47 +000036properties, complete the following steps:</p>
syeshinf3d0d4b2005-07-27 18:33:03 +000037</div>
kprice159fa582006-05-08 21:30:45 +000038
39<ol>
40<li class="stepexpand"><span>Create a new XML schema or double-click an existing schema in the
41Navigator view.</span> It will automatically open in the XML schema editor.
42</li>
43
kprice43d0c0f2006-05-18 15:56:09 +000044<li class="stepexpand"><span>In the Outline view, click <span class="uicontrol">Directives</span>.</span>
kprice159fa582006-05-08 21:30:45 +000045</li>
46
47<li class="stepexpand"><span>In the Properties view, click the <span class="uicontrol">General</span> tab.</span>
48</li>
49
50<li class="stepexpand"><span>You can change the <span class="uicontrol">Prefix</span> associated with
syeshinf3d0d4b2005-07-27 18:33:03 +000051the current namespace.</span> Element and attribute names that are associated
52with this namespace will be prefixed with this value.</li>
kprice159fa582006-05-08 21:30:45 +000053
54<li class="stepexpand"><span>You can also edit the <span class="uicontrol">Target namespace</span> for
syeshinf3d0d4b2005-07-27 18:33:03 +000055this schema.</span> A namespace is a URI that provides a unique name
kprice159fa582006-05-08 21:30:45 +000056to associate with all the elements and type definitions in a schema.
syeshinf3d0d4b2005-07-27 18:33:03 +000057</li>
kprice159fa582006-05-08 21:30:45 +000058
59<li class="stepexpand"><span>Click the <span class="uicontrol">Documentation</span> tab if you want
syeshinf3d0d4b2005-07-27 18:33:03 +000060to provide any information about this XML schema.</span> The <span class="uicontrol">Documentation</span> page
kprice43d0c0f2006-05-18 15:56:09 +000061is used for human readable material, such as a description.</li>
62
63<li class="stepexpand"><span>Click the <span class="uicontrol">Extensions</span> tab if you want to
64add application information elements to your annotations of schema components.</span>
65 The <span class="uicontrol">Extensions</span> page allows you to specify the
66schema and add XML content to your annotations.</li>
kprice159fa582006-05-08 21:30:45 +000067
syeshinf3d0d4b2005-07-27 18:33:03 +000068</ol>
kprice159fa582006-05-08 21:30:45 +000069
syeshinf3d0d4b2005-07-27 18:33:03 +000070</div>
kprice159fa582006-05-08 21:30:45 +000071
72
syeshinf3d0d4b2005-07-27 18:33:03 +000073</body>
74</html>