diff options
Diffstat (limited to 'docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html')
-rw-r--r-- | docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html deleted file mode 100644 index 24b1c30fae..0000000000 --- a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html +++ /dev/null @@ -1,82 +0,0 @@ -<?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, 2009 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, 2009" /> -<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="Working with DTD templates" /> -<meta name="abstract" content="Templates are a chunk of predefined code that you can insert into a DTD file when it is created. You may find a template useful when you have a certain piece of code you want to reuse several times, and you do not want to write it out every time." /> -<meta name="description" content="Templates are a chunk of predefined code that you can insert into a DTD file when it is created. You may find a template useful when you have a certain piece of code you want to reuse several times, and you do not want to write it out every time." /> -<meta content="DTDs, creating templates, templates, DTD" name="DC.subject" /> -<meta content="DTDs, creating templates, templates, DTD" name="keywords" /> -<meta scheme="URI" name="DC.Relation" content="../topics/tcretdtd.html" /> -<meta content="XHTML" name="DC.Format" /> -<meta content="twmacro" 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>Working with DTD templates</title> -</head> -<body id="twmacro"><a name="twmacro"><!-- --></a> - - -<h1 class="topictitle1">Working with DTD templates</h1> - - - - -<div><p>Templates are a chunk of predefined code that you can insert into -a DTD file when it is created. You may find a template useful when you have -a certain piece of code you want to reuse several times, and you do not want -to write it out every time.</p> - -<div class="section"><p>To create a new DTD template, complete the following steps:</p> -</div> - -<ol> -<li class="stepexpand"><span>Click <span class="menucascade"><span class="uicontrol">Window</span> > <span class="uicontrol">Preferences</span> - > <span class="uicontrol">Web and XML</span> > <span class="uicontrol">DTD Files</span> > <span class="uicontrol">Templates</span> -</span>.</span></li> - -<li class="stepexpand"><span>Click <span class="uicontrol">New</span> in the templates prefereces.</span> -</li> - -<li class="stepexpand"><span>Supply a new template <span class="uicontrol">Name</span> and <span class="uicontrol">Description</span>.</span> -</li> - -<li class="stepexpand"><span>Specify the <span class="uicontrol">Context</span> for the template.</span> - This is the context in which the template is available in the proposal -list when content assist is requested. </li> - -<li class="stepexpand"><span>Specify the <span class="uicontrol">Pattern</span> for your template using -the appropriate tags, attributes, or attribute values to be inserted by content -assist.</span></li> - -<li class="stepexpand"><strong>Optional: </strong><span>To insert a variable, click the <span class="uicontrol">Insert -Variable</span> button and select a variable. </span> For example, -the <span class="uicontrol">date</span> variable indicates the current date will be -inserted. </li> - -<li class="stepexpand"><span>Click <span class="uicontrol">Apply</span> and then <span class="uicontrol">OK</span> to -save your changes.</span></li> - -</ol> - -<div class="section">You can edit, remove, import, or export a template by using the same -preferences page. <p>If you have a template that you do not want to remove, -but you no longer want the template to appear in the DTD templates list when -you create a file, clear its checkbox in the templates table.</p> -</div> - -</div> - -<div><div class="reltasks"><strong>Related tasks</strong><br /> -<div><a href="../topics/tcretdtd.html" title="A document type definition (DTD) contains a set of rules that can be used to validate an XML file. After you have created a DTD, you can edit it manually, adding declarations that define elements, attributes, entities, and notations, and how they can be used for any XML files that reference the DTD file.">Creating DTDs</a></div> -</div> -</div> - -</body> -</html>
\ No newline at end of file |