|Xpand and Xtend [message #545228]
||Wed, 07 July 2010 05:26
Registered: July 2010
I want to convert a XML document into a plain text file.|
The XML document has an associated XSD. One of the XML elements has some source code in 'C' like language.
I use the XSD adapter to convert the XSD into a ecore metamodel. I am able to parse and generate output for the XML elements using a XPAND template.
However, when get the element which has the 'C' language code, I need to switch to another metamodel ( which defines the 'C' grammer) to generate output to the same file.
How can switch metamodels when generating the output ?
I would like to specify a new Xpand template to process the 'C' grammer.
Do I need to use Xtend ?
Powered by FUDForum
. Page generated in 0.01689 seconds