|Top xml element in ecore [message #630882]
||Tue, 05 October 2010 08:55
| Volodymyr Gryshko
Registered: July 2009
ecore file specifies model.
model then used to create xml.
I need to figure out based on ecore file what would be top element in XML.
Is it possible at all?
Im loading ecore like:
ResourceSet rs = new ResourceSetImpl();
Resource resource = rs.getResource(URI.createURI(path), true);
TreeIterator<Object> allContents = EcoreUtil.getAllContents(resource, true);
Im getting lots of EClasses EDataTypes etc and IM pretty much lost there...
Powered by FUDForum
. Page generated in 0.01894 seconds