blob: c00534aade8b20b50cf71daef9e44731a54c7667 [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, 2006 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, 2006" />
<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 processing instructions" />
<meta name="abstract" content="If you have instructions you want to pass along to an application using an XML document, you can use a processing instruction." />
<meta name="description" content="If you have instructions you want to pass along to an application using an XML document, you can use a processing instruction." />
<meta content="XML editor, editing, processing instructions, editing, XML files" name="DC.subject" />
<meta content="XML editor, editing, processing instructions, editing, XML files" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/txedtdes.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tedtproc" 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 processing instructions</title>
</head>
<body id="tedtproc"><a name="tedtproc"><!-- --></a>
<h1 class="topictitle1">Editing XML processing instructions</h1>
<div><p>If you have instructions you want to pass along to an application
using an XML document, you can use a processing instruction. </p>
<div class="section"><p>The following instructions were written for the Resource perspective,
but they will also work in many other perspectives.</p>
<p>To edit a processing
instruction, follow these steps:</p>
</div>
<ol>
<li><span>In the Design view of the XML editor, right-click your processing
instruction, and click <span class="uicontrol">Edit Processing Instruction</span>.</span>
</li>
<li><span>The <span class="uicontrol">Target</span> field is used to identify the
application the instructions belongs to.</span></li>
<li><span>The <span class="uicontrol">Data</span> field contains the instructions.</span>
</li>
<li><span>Click <span class="uicontrol">OK</span>.</span></li>
</ol>
<div class="section">To create a new processing instruction, right-click in the Design
view, and click <span class="uicontrol">Add Child</span>, <span class="uicontrol">Add Before</span> or <span class="uicontrol">Add
After</span>, then click <span class="uicontrol">Add Processing Instruction</span>.</div>
</div>
<div><div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/txedtdes.html" title="The XML editor has a Design view, which represents the XML file simultaneously as a table and a tree. This helps make navigation and editing easier. Content and attribute values can be edited directly in the table cells, while pop-up menus on the tree elements give alternatives that are valid for that particular element.">Editing in the Design view</a></div>
</div>
</div>
</body>
</html>