Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsQuerying EMF model with Xpath
https://www.eclipse.org/forums/index.php/mv/msg/440621/987412/#msg_987412
I would like to know how to get some elements of a model with Xpath.
I am using KDM instance and I want to get all class type. For example with the xmi file all I need to do is:
//codeElement[xsi:type="code:ClassUnit"]
But with the model I do not have xsi:type.
How could I do the same but with de EMF model instance?
I know that in xpath 2.0 exist the instance of operator but I am using xpath 1.0.
Thanks,
Daniel.]]>Daniel San MartÃn2012-11-26T14:11:27-00:00