blob: 39a6c98c178641a1fde38771d9159f0d39c2aeb9 [file] [log] [blame]
kpriceef160682006-08-29 18:08:31 +00001<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
2<html lang="en-us" xml:lang="en-us">
syeshinbefd53e2005-07-27 18:16:40 +00003<head>
kpriceef160682006-08-29 18:08:31 +00004<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
kpriceb59c9f62008-04-02 21:24:37 +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 Contributors: IBM Corporation - initial API and implementation" />
6<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
kpriceef160682006-08-29 18:08:31 +00007<meta content="public" name="security" />
8<meta content="index,follow" name="Robots" />
9<meta http-equiv="PICS-Label" content='(PICS-1.1 "" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "" l gen true r (n 0 s 0 v 0 l 0) "" l gen true r (SS~~000 1))' />
10<meta content="task" name="DC.Type" />
11<meta name="DC.Title" content="Specifying XML default encoding line delimiters" />
12<meta name="abstract" content="This page lets you specify the line delimiter and the text encoding that will be used when you create or save an XML related file." />
13<meta name="description" content="This page lets you specify the line delimiter and the text encoding that will be used when you create or save an XML related file." />
kpriceb59c9f62008-04-02 21:24:37 +000014<meta content="XML files, specifying line delimiters, line delimiters" name="DC.subject" />
15<meta content="XML files, specifying line delimiters, line delimiters" name="keywords" />
kpriceef160682006-08-29 18:08:31 +000016<meta content="XHTML" name="DC.Format" />
17<meta content="tedtenc" 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" />
syeshinbefd53e2005-07-27 18:16:40 +000020<title>Specifying line delimiters</title>
syeshin66078272005-09-20 16:53:38 +000021</head>
syeshinbefd53e2005-07-27 18:16:40 +000022<body id="tedtenc"><a name="tedtenc"><!-- --></a>
kpriceef160682006-08-29 18:08:31 +000023
25<h1 class="topictitle1">Specifying XML default encoding line delimiters</h1>
30<div><p>This page lets you specify the line delimiter and the text encoding
31that will be used when you create or save an XML related file.</p>
kpriceb59c9f62008-04-02 21:24:37 +000033<div class="section"><p>To specify the line delimiter you want to use, complete the following
syeshinbefd53e2005-07-27 18:16:40 +000035</div>
kpriceef160682006-08-29 18:08:31 +000036
38<li><span>Click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span>
kpriceb59c9f62008-04-02 21:24:37 +000039</span> and select <span class="menucascade"><span class="uicontrol">XML</span> &gt; <span class="uicontrol">XML
kpriceef160682006-08-29 18:08:31 +000041
kpriceb59c9f62008-04-02 21:24:37 +000042<li><span>From the <span class="uicontrol">Encoding</span> field, specify the default
43character encoding set that is used when creating XML related files (DTDs,
44XML files, XML schemas). Changing the encoding causes any new, XML related
45files that are created from scratch to use the selected encoding.</span></li>
kpriceef160682006-08-29 18:08:31 +000046
kpriceb59c9f62008-04-02 21:24:37 +000047<li><span>Select <span class="menucascade"><span class="uicontrol">General</span> &gt; <span class="uicontrol">Workspace</span>
48</span> in the left pane of the Preferences window and chose either <span class="uicontrol">Default</span> or <span class="uicontrol">Other</span> in
49the <span class="uicontrol">New text file line delimiter </span>section. Select the
50operating system that applies to your development or deployment platform from
51the <span class="uicontrol">Other</span> drop down list.</span></li>
kpriceef160682006-08-29 18:08:31 +000052
53<li><span>Click <span class="uicontrol">Apply</span>, then <span class="uicontrol">OK</span>.</span>
syeshinbefd53e2005-07-27 18:16:40 +000056</ol>
kpriceef160682006-08-29 18:08:31 +000057
58<div class="section" />
syeshinbefd53e2005-07-27 18:16:40 +000060</div>
kpriceef160682006-08-29 18:08:31 +000061
syeshinbefd53e2005-07-27 18:16:40 +000063</body>