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
Answertopia.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:loadContent>

Standard JET2 Control Tags

loadContent

Extends the model by parsing its contents as XML.


Tag Summary
required <c:loadContent var="value">
    content consumed by tag evaluation
</c:loadContent>
full tag <c:loadContent var="value" type="value" loader="value">
    content consumed by tag evaluation
</c:loadContent>

Required Attributes
var A name to associate with the document root of the DOM created by the parse. Subsequent template tags can use this name in query expressions to access the data in this DOM.

Optional Attributes
type A content type with which to search for an appropriate loader for the content. Defaults to "xml" if null.
loader The id of a specific loader which will parse the content and build a model.

Example
<%-- Load an in memory XML document. $myXML is the document root, $myXML/root is the root element --%>
<c:loadContent var="myXML">
    <root>
      <a name="one"/>
      <a name="two"/>
    </root>
</c:loadContent>


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