Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<c:addTextElement>

Standard JET2 Control Tags

addTextElement

Create a new model element node under the selected element, and whose text content is the content of this tag.


Tag Summary
required <c:addTextElement select="value" name="value">
    content consumed by tag evaluation
</c:addTextElement>
full tag <c:addTextElement select="value" name="value" var="value" cdata="value">
    content consumed by tag evaluation
</c:addTextElement>

Required Attributes
select
An XPath expression determining the parent of the new element.
name
The name of the new element.

Optional Attributes
var
A variable name that will refer to the newly created element.
cdata
Add the text as a CData section. Default is 'false'.

Example
<%-- insert a text element 'foo' under $root. $newText refers to it --%>
<c:addTextElement select="$root" name="foo" var="newText">
    This is the content of foo
</c:addTextElement>


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire