blob: d2a26cb0b59f2ea6382f3973c44d8ac872049393 [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" />
5<meta name="copyright" content="Copyright (c) 2000, 2006 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, 2006" />
7<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." />
14<meta content="XML schema editor, editing XML schemas, simple types, XML schema files, editing" name="DC.subject" />
15<meta content="XML schema editor, editing XML schemas, simple types, XML schema files, editing" name="keywords" />
16<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
36properties follow these 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
44<li class="stepexpand"><span>In the Outline view, click <span class="uicontrol">Directives</span></span>
45</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
61is used for human readable material, such as a description, and the <span class="uicontrol">App
kprice159fa582006-05-08 21:30:45 +000062Info</span> page can be used to provide information for applications.
63</li>
64
syeshinf3d0d4b2005-07-27 18:33:03 +000065</ol>
kprice159fa582006-05-08 21:30:45 +000066
syeshinf3d0d4b2005-07-27 18:33:03 +000067</div>
kprice159fa582006-05-08 21:30:45 +000068
69
syeshinf3d0d4b2005-07-27 18:33:03 +000070</body>
71</html>