Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Using Jet Transformation with EMF documents
Using Jet Transformation with EMF documents [message #600751] Fri, 05 January 2007 12:15
lakshmi is currently offline lakshmiFriend
Messages: 1
Registered: July 2009
Junior Member

Can anyone please tell me what does the following mean in the JET developer site:

<%-- contents of main.jet that reads handles a .ecore file --%>
<%-- import the ecore namespace --%>
<%@jet imports="org.eclipse.emf.ecore.*"%>

<c:setVariable var="ePackage" select="/contents"/>

<%-- write to the JET execution console --%>
EPackage: <c:get select="$ePackage/@name"/>
<c:iterate select="$ePackage/eClassifiers" var="eClassifier">
EClassifier ec = (EClassifier)context.getVariable("eClassifier");
EClassifier: <c:get select="$eClassifier/@name"/>. Really it&apos;s <%=
ec.getName() %>

I have not been able to find a way to load an ecore model and browse the way
they have specified.

Previous Topic:Is ecore-based XML browsing possible?
Next Topic:Teneo : where is the last release ?
Goto Forum:

Current Time: Thu Feb 25 23:28:48 GMT 2021

Powered by FUDForum. Page generated in 0.01914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top