blob: f13706458dcd94871761c5d3d4a6f84940530e73 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 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
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>Editing XML schema file preferences</title>
<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="skipspace"><p>To define XML schema preferences, follow these steps:</p>
<ol><li class="skipspace"><span>Select <b> <span class="menucascade"><span class="uicontrol">Window &gt; Preferences &gt; Web and
XML &gt; XML Schema Files</span></span></b>.</span></li>
<li class="skipspace"><span>Select the <b> <span class="uicontrol">Qualify XML schema language constructs </span>
box if you want a prefix applied to all XML Schema language constructs in
your XML schema.</span></li>
<li class="skipspace"><span>In the<b> <span class="uicontrol">XML schema language constructs prefix</span>
type the prefix you want applied to XML Schema language constructs in your
XML schema.</span> The prefix <b> <span class="uicontrol">xsd</span></b> 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">
<b>Note</b>: </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 class="skipspace"><span>You can change the <b> <span class="uicontrol">Default Target Namespace</span></b> value.</span> The value specified in this field will be the default target namespace
for any new XML schema files created.</li>
<li class="skipspace"><span>Click <b> <span class="uicontrol">OK</span></b>.</span></li>