blob: d7a9e428759685c65b38fcc02b96519bacdfec62 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?NLS type="org.eclipse.help.contexts"?>
<!-- /*******************************************************************************
* 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<contexts>
<context id="exml0000">
<description>The XML source page editor lets you edit a file that is coded in the Extensible Markup Language. The editor provides many text editing features, such as content assist, user-defined templates, syntax highlighting, unlimited undo and redo, element selection and formatting, and document formatting.
</description>
<topic label="Structured text editors for markup languages" href="../org.eclipse.wst.sse.doc.user/topics/csrcedt004.html"/>
<topic label="Editing text coded in markup languages - overview" href="../org.eclipse.wst.sse.doc.user/topics/tsrcedt000.html"/>
<topic label="Adding and removing XML templates" href="../org.eclipse.wst.sse.doc.user/topics/tsrcedt029.html"/>
</context>
<context id="webx0060">
<description>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.
Various development platforms use different line delimiters to indicate the start of a new line. Select the operating system that corresponds to your development or deployment platform.
<b>Note:</b> This delimiter will not automatically be added to any documents that currently exist. It will be added only to documents that you create after you select the line delimiter type and click <b>Apply</b>, or to existing files that you open and then resave after you select the line delimiter type and click <b>Apply</b>.
The encoding attribute is used to specify the default character encoding set that is used when creating XML related files (DTDs, XML files, XML schemas). Changing the encoding causes any new XML related files that are created from scratch to use the selected encoding.
</description>
<topic label="Setting preferences for structured text editors" href="../org.eclispe.wst.sse.doc.user/topics/tsrcedt025.html"/>
</context>
<context id="webx0061">
<description>This page lets you specify the formatting and content assist preferences that will be used when editing an XML file.
Enter a maximum width in the <b>Line width</b> field to specify the line width to break a line to fit onto more than one line when the document is formatted.
Select <b>Split multiple attributes each on a new line</b> to start every attribute on a new line when the document is formatted.
Select <b>Clear all blank lines</b> to remove blank lines when the document is formatted.
Select <b>Indent using tabs</b> if you want to use tab characters (\t) as the standard formatting indentation.
If you prefer to use spaces, select <b>Indent using spaces</b>.
You can also specify the <b>Indentation size</b> which is the number of tabs or space characters used for formatting indentation.
To apply these formatting styles, select the <b>Format Document</b> menu item.
If the <b>Automatically make suggestions</b> check box is selected, you can specify that certain characters will cause the content assist list to pop up automatically. Specify these characters in the <b>Prompt when these characters are inserted</b> field.
If a DTD or Schema (or other model) is not specified for an XML file, selecting <b>Use inferred grammar in absence of DTD/Schema</b> allows the editor to "guess" what elements or attributes are available based on existing content.
</description>
<topic label="Setting preferences for structured text editors" href="../org.eclipse.wst.sse.doc.user/topics/tsrcedt025.html"/>
</context>
<context id="webx0062">
<description>This page lets you customize the syntax highlighting that the XML editor does when you are editing a file.
The <b>Content type</b> field contains a list of all the source types that you can select a highlighting style for. You can either select the content type that you want to work with from the drop-down list, or click text in the text sample window that corresponds to the content type for which you want to change the text highlighting.
The <b>Foreground</b> and <b>Background</b> push buttons open <b>Color</b> dialog boxes that allow you to specify text foreground and background colors, respectively. Select the <b>Bold</b> check box to make the specified content type appear in bold.
Click the <b>Restore Default</b> push button to set the highlighting styles back to their default values.
</description>
<topic label="Setting preferences for structured text editors" href="../org.eclipse.wst.sse.doc.user/topics/tsrcedt025.html"/>
</context>
<context id="webx0063">
<description>
This page lets you create new and edit existing templates that will be used when editing an XML file.
Click <b>New</b> if you want to create a completely new template.
Supply a new template <b>Name</b> and <b>Description</b>. The <b>Context</b> for the template is the context in which the template is available in the proposal list when content assist is requested. Specify the <b>Pattern</b> for your template using the appropriate tags, attributes, or attribute values to be inserted by content assist.
If you want to insert a variable, click the <b>Insert Variable</b> button and select the variable to be inserted. For example, the word_selection variable indicates the word that is selected at the beginning of template insertion, and the cursor variable determines where the cursor will be after the template is inserted in the document.
You can edit, remove, import, or export a template by using the same Preferences page. If you have modified a default template, you can restore it to its default value. You can also restore a removed template if you have not exited from the workbench since it was removed.
If you have a template that you do not want to remove but you no longer want it to appear in the content assist list, clear its check box in the Templates preferences page.
</description>
<topic label="Adding and removing XML templates" href="../org.eclipse.wst.sse.doc.user/topics/tsrcedt029.html"/>
<topic label="Setting preferences for structured text editors" href="../org.eclipse.sse.doc.user/topics/tsrcedt025.html"/>
</context>
<context id="xmlm1200">
<description>Cleanup options enable you to update a document so that it is well-formed and consistently formatted.
The following cleanup options can be set to on or off, so that you can limit the type of cleanup performed:
- <b>Compress empty element tags</b>: Compress element tags with no content to one tag with an end tag delimiter (ie: change &lt;tag&gt;&lt;/tag&gt; to &lt;tag /&gt;).
- <b>Insert required attributes</b>: Inserts an missing attributes that are required by the tag to make the element or document well-formed.
- <b>Insert missing tags</b>: Completes any missing tags (such as adding an end tag) necessary to make the element or document well-formed.
- <b>Quote attribute values</b>: Appropriately adds double- or single-quotes before and after attribute values if they are missing.
- <b>Format source</b>: Formats the document just as the <b>Format Document</b> context menu option does, immediately after performing any other specified <b>Cleanup</b> options.
- <b>Convert line delimiters to</b>: Converts all line delimiters in the file to the selected operating system's type.
</description>
<topic label="Structured text editors for markup languages" href="../org.eclipe.wst.sse.doc.user/topics/csrcedt004.html"/>
<topic label="Editing text coded in markup languages - overview" href="../org.eclipse.sse.doc.user/topics/tsrcedt000.html"/>
</context>
<context id="xcui0500">
<!--Edit attribute dialog -->
<description>Enter the name of the attribute in the <b>Name</b> field. Enter the value of the attribute in the <b>Value</b> field. Click <b>OK</b>. The attribute will be added to the file.</description>
</context>
<context id="xcui0010">
<!--Edit DOCTYPE dialog -->
<description>The DOCTYPE declaration in an XML file is used at the beginning of it to associate it with a DTD file. You can use the <b>Public ID</b> field to create an association using an XML Catalog entry or the <b>System ID</b> field to create an association using a file in the workbench.</description>
</context>
<context id="xcui0030">
<description>Public ID Text Edit</description>
</context>
<context id="xcui0040">
<description>Public ID Browse Button</description>
</context>
<context id="xcui0020">
<description>Root Element Name Text Edit</description>
</context>
<context id="xcui0050">
<description>System ID Text Edit</description>
</context>
<context id="xcui0060">
<description>System ID Browse Button</description>
</context>
<context id="xcui0600">
<!--Edit element dialog -->
<description>Enter the name of the element in the <b>Element name </b>field. Click <b>OK</b>. The element will be added to the file.</description>
</context>
<context id="xcui0300">
<!--Edit processing instructions dialog -->
<description>A processing instruction is a syntax in XML for passing instructions along to the application using an XML document. The <b>Target</b> field is used to identify the application the instructions belongs to. The <b>Data </b>field contains the instructions.</description>
</context>
</contexts>