blob: e5de866fdcbcd4125fc7e16f80fa97ef823bada7 [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="Editing XML processing instructions" />
kpriceb59c9f62008-04-02 21:24:37 +000012<meta name="abstract" content="If you have instructions you want to send to an application using an XML document, you can use a processing instruction." />
13<meta name="description" content="If you have instructions you want to send to an application using an XML document, you can use a processing instruction." />
14<meta content="XML editor, processing instructions, XML files" name="DC.subject" />
15<meta content="XML editor, processing instructions, XML files" name="keywords" />
kpriceef160682006-08-29 18:08:31 +000016<meta scheme="URI" name="DC.Relation" content="../topics/txedtdes.html" />
17<meta content="XHTML" name="DC.Format" />
18<meta content="tedtproc" name="DC.Identifier" />
19<meta content="en-us" name="DC.Language" />
20<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
syeshind0bdb8e2005-10-27 17:44:14 +000021<title>Editing XML processing instructions</title>
syeshin66078272005-09-20 16:53:38 +000022</head>
syeshinbefd53e2005-07-27 18:16:40 +000023<body id="tedtproc"><a name="tedtproc"><!-- --></a>
kpriceef160682006-08-29 18:08:31 +000025
syeshind0bdb8e2005-10-27 17:44:14 +000026<h1 class="topictitle1">Editing XML processing instructions</h1>
kpriceef160682006-08-29 18:08:31 +000027
kpriceb59c9f62008-04-02 21:24:37 +000031<div><p>If you have instructions you want to send to an application using
32an XML document, you can use a processing instruction. </p>
kpriceef160682006-08-29 18:08:31 +000033
kpriceb59c9f62008-04-02 21:24:37 +000034<div class="section"><p>To create a new processing instruction, right-click in the Design
35view, and click <span class="uicontrol">Add Child</span>, <span class="uicontrol">Add Before</span> or <span class="uicontrol">Add
36After</span>, then click <span class="uicontrol">Add Processing Instruction</span>.</p>
38edit a processing instruction in the XML editor Design view, right-click your
39processing instruction, and click <span class="uicontrol">Edit Processing Instruction</span>.
40You can change the values in the following fields:</p>
42<li>The <span class="uicontrol">Target</span> field is used to identify the application
43the instructions belongs to.</li>
45<li>The <span class="uicontrol">Data</span> field contains the instructions.</li>
syeshinbefd53e2005-07-27 18:16:40 +000048</div>
kpriceef160682006-08-29 18:08:31 +000049
kpriceb59c9f62008-04-02 21:24:37 +000050<div class="section">Click <span class="uicontrol">OK</span> to save your settings.<div class="note"><span class="notetitle">Note:</span> These
51instructions were written for the Resource perspective, but they will also
52work in many other perspectives.</div>
kpriceef160682006-08-29 18:08:31 +000054
57<div><div class="reltasks"><strong>Related tasks</strong><br />
58<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>
syeshinbefd53e2005-07-27 18:16:40 +000063</html>