Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Run different templates in Xpand project(I want to call different templates inside another template which is the root.)
icon11.gif  Run different templates in Xpand project [message #1760141] Sun, 23 April 2017 17:04 Go to next message
gerard TALLA is currently offline gerard TALLAFriend
Messages: 1
Registered: April 2017
Junior Member
Hey guys, Someone can help me?

I defined 3 different templates for my xpand project, so I want to use one of them as the root template which one is referenced in my workflow MWE and make a reference / call the two another template inside this root. I don't know if it possible or how to do it?

Re: Run different templates in Xpand project [message #1760189 is a reply to message #1760141] Mon, 24 April 2017 12:54 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

This is a quite common use case. It is exactly like you would call definitions within one templtae, only that you qualify the template's name.
«DEFINE Root FOR MyType»
«EXPAND Template1::Start»
«EXPAND Template2::Start»
Previous Topic:sirius table
Next Topic:xpand
Goto Forum:

Current Time: Thu Nov 30 10:59:53 GMT 2023

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

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

Back to the top