blob: 7128fbcffb7ecc866fd546c6572d641a7465da16 [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 file preferences" />
12<meta name="abstract" content="You can set various preferences for XML schema files such as the default target namespace and XML Schema language constructs prefix used." />
13<meta name="description" content="You can set various preferences for XML schema files such as the default target namespace and XML Schema language constructs prefix used." />
kpricede20a692008-04-24 00:27:47 +000014<meta content="XML schema files, editing preferences, preferences" name="DC.subject" />
15<meta content="XML schema files, editing preferences, preferences" name="keywords" />
kprice159fa582006-05-08 21:30:45 +000016<meta content="XHTML" name="DC.Format" />
17<meta content="tedtpref" 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" />
syeshind0bdb8e2005-10-27 17:44:14 +000020<title>Editing XML schema file preferences</title>
syeshin8f077832005-09-06 04:22:45 +000021</head>
syeshinf3d0d4b2005-07-27 18:33:03 +000022<body id="tedtpref"><a name="tedtpref"><!-- --></a>
kprice159fa582006-05-08 21:30:45 +000023
24
syeshind0bdb8e2005-10-27 17:44:14 +000025<h1 class="topictitle1">Editing XML schema file preferences</h1>
kprice159fa582006-05-08 21:30:45 +000026
27
28
29
30<div><p>You can set various preferences for XML schema files such as the
31default target namespace and XML Schema language constructs prefix used.</p>
32
kpricede20a692008-04-24 00:27:47 +000033<div class="section"><p>To define XML schema file preferences, complete the following
34steps:</p>
syeshinf3d0d4b2005-07-27 18:33:03 +000035</div>
kprice159fa582006-05-08 21:30:45 +000036
37<ol>
kpricede20a692008-04-24 00:27:47 +000038<li class="stepexpand"><span>Click <span class="menucascade"><span class="uicontrol">Window &gt; Preferences</span>
39</span> and select <span class="menucascade"><span class="uicontrol">XML</span> &gt; <span class="uicontrol">XML
40Schema Files</span></span>.</span></li>
kprice159fa582006-05-08 21:30:45 +000041
42<li class="stepexpand"><span>Select the <span class="uicontrol">Qualify XML schema language constructs</span> check
syeshinf3d0d4b2005-07-27 18:33:03 +000043box if you want a prefix applied to all XML Schema language constructs in
44your XML schema.</span></li>
kprice159fa582006-05-08 21:30:45 +000045
46<li class="stepexpand"><span>In the <span class="uicontrol">XML schema language constructs prefix</span> field,
syeshinf3d0d4b2005-07-27 18:33:03 +000047type the prefix you want applied to XML Schema language constructs in your
kpricede20a692008-04-24 00:27:47 +000048XML schema.</span> The prefix <span class="uicontrol">xsd</span> is used by convention
kprice159fa582006-05-08 21:30:45 +000049to denote the XML Schema namespace, but any prefix can be used. The purpose
50of the association is to identify the elements and simple types as belonging
51to the vocabulary of the XML Schema language rather than the vocabulary of
kpriceebd54462006-05-15 22:15:20 +000052the schema author. <div class="note"><span class="notetitle">Note:</span> This prefix will not appear in any schemas that
kprice159fa582006-05-08 21:30:45 +000053currently exist - it will only appear in new schemas you create after you
54type the prefix and click <span class="uicontrol">Apply</span>. Any schemas that already
55exist will have the prefix specified in the schema applied to the XML schema
56language constructs.</div>
syeshinf3d0d4b2005-07-27 18:33:03 +000057</li>
kprice159fa582006-05-08 21:30:45 +000058
59<li class="stepexpand"><span>You can change the <span class="uicontrol">Default Target Namespace</span> value.</span>
60 The value specified in this field will be the default target namespace
syeshinf3d0d4b2005-07-27 18:33:03 +000061for any new XML schema files created.</li>
kprice159fa582006-05-08 21:30:45 +000062
63<li class="stepexpand"><span>Click <span class="uicontrol">OK</span>.</span></li>
64
syeshinf3d0d4b2005-07-27 18:33:03 +000065</ol>
kprice159fa582006-05-08 21:30:45 +000066
67<div class="section" />
68
syeshinf3d0d4b2005-07-27 18:33:03 +000069</div>
kprice159fa582006-05-08 21:30:45 +000070
71
syeshinf3d0d4b2005-07-27 18:33:03 +000072</body>
73</html>