| [Xpand] Root element not found [message #643411] |
Mon, 06 December 2010 14:03  |
Stefan Jurack Messages: 24 Registered: February 2010 |
Junior Member |
|
|
Hi all,
I accidently put this question in the xtext-forum already, so don't be mad that I repeat this here.
I have a grammar with top-level element "WebsiteModel":
...
WebsiteModel:
'site' title=STRING
pages+=WebPage+
...
When I try to generate code out of an instance of my grammar with a workflow configuration as follows (excerpt)...:
load = {
slot = "websiteRoot"
type = "WebsiteModel"
}
...the console output is telling me, that no element of that type (WebsiteModel) has been found. However, when I use a non-top-level element (e.g. WebPage) in the workflow configuration, the result set is not empty.
Is there a certain trick I missed to access the root element in order to perform Xpand transformations?
Thnx,
Stefan
|
|
|
|
Powered by
FUDForum. Page generated in 0.01588 seconds