Assume that I have an Ecore-model containing a package and some classes that make reference to each other. If i create a "Dynamic Instance", Eclipse produces an XMI-file and I can instantiate some classes. Containment-relations are directly serialized to an XML-tree in the XMI (the children
elements in the example). But if I instantiate references to elements that are already contained somewhere in the tree, the Editor writes Path-Expressions like in the following, for the currentChild
attribute:
<parent currentChild="//@parent/@children.1">
<children/>
<children/>
</parent>
As far as I know this is not XPath, because:
- The "
childrens
" are elements not attributes and have not to be referenced via "@
" - XPath uses the e.g.,
elem[1]
and notelem.1
to get e.g., the second elem of a list
What is it and where can I find a information on it? I already tried to browse the EMF pages/specs but could not find it.