blob: 7128fbcffb7ecc866fd546c6572d641a7465da16 [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="task" name="DC.Type" />
<meta name="DC.Title" content="Editing XML schema file preferences" />
<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." />
<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." />
<meta content="XML schema files, editing preferences, preferences" name="DC.subject" />
<meta content="XML schema files, editing preferences, preferences" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="tedtpref" 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>Editing XML schema file preferences</title>
</head>
<body id="tedtpref"><a name="tedtpref"><!-- --></a>
<h1 class="topictitle1">Editing XML schema file preferences</h1>
<div><p>You can set various preferences for XML schema files such as the
default target namespace and XML Schema language constructs prefix used.</p>
<div class="section"><p>To define XML schema file preferences, complete the following
steps:</p>
</div>
<ol>
<li class="stepexpand"><span>Click <span class="menucascade"><span class="uicontrol">Window &gt; Preferences</span>
</span> and select <span class="menucascade"><span class="uicontrol">XML</span> &gt; <span class="uicontrol">XML
Schema Files</span></span>.</span></li>
<li class="stepexpand"><span>Select the <span class="uicontrol">Qualify XML schema language constructs</span> check
box if you want a prefix applied to all XML Schema language constructs in
your XML schema.</span></li>
<li class="stepexpand"><span>In the <span class="uicontrol">XML schema language constructs prefix</span> field,
type the prefix you want applied to XML Schema language constructs in your
XML schema.</span> The prefix <span class="uicontrol">xsd</span> is used by convention
to denote the XML Schema namespace, but any prefix can be used. The purpose
of the association is to identify the elements and simple types as belonging
to the vocabulary of the XML Schema language rather than the vocabulary of
the schema author. <div class="note"><span class="notetitle">Note:</span> This prefix will not appear in any schemas that
currently exist - it will only appear in new schemas you create after you
type the prefix and click <span class="uicontrol">Apply</span>. Any schemas that already
exist will have the prefix specified in the schema applied to the XML schema
language constructs.</div>
</li>
<li class="stepexpand"><span>You can change the <span class="uicontrol">Default Target Namespace</span> value.</span>
The value specified in this field will be the default target namespace
for any new XML schema files created.</li>
<li class="stepexpand"><span>Click <span class="uicontrol">OK</span>.</span></li>
</ol>
<div class="section" />
</div>
</body>
</html>