I have used EMF to generate XSD-based access functions. I could see how to load input from a disk-file in the examples generated. However, the XML that I want to parse is stored in a string. Is there any way I can proceed without dumping the string into a file and then reading it back?
Share
Here is an example method, takes in your modelString and the ECorePackage instance that parses the xml and returns the EObject.