1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
<?xml version="1.0" encoding="ASCII"?>
<xpathtest:Root
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xpathtest="http://www.eclipse.org/emf/xpathtest"
xsi:schemaLocation="http://www.eclipse.org/emf/xpathtest XPathTest.ecore"
id="root">
<nodes root="/"
cat="cat1"
value="val1"
id="element1">
<children
root="/"
cat="cat1.1"
value="val1.1"
id="element1.1"
inrefs="//@nodes.1/@children.0 //@nodes.1/@children.0/@children.0"/>
<children
root="/"
cat="cat1.2"
value="val1.2"
id="element1.2"/>
</nodes>
<nodes root="/"
cat="cat2"
value="val2"
id="element2">
<children
root="/"
cat="cat2.1"
value="val2.1"
id="element2.1"
outrefs="//@nodes.0/@children.0">
<children
root="/"
cat="cat2.1.1"
value="val2.1.1"
id="element2.1.1"
outrefs="//@nodes.0/@children.0"/>
</children>
<children
root="/"
cat="cat2.2"
value="val2.2"
id="element2.2"/>
<children
xsi:type="xpathtest:ExtendedNode"
root="/"
cat="cat2.3"
value="val2.3"
id="element2.3"
name="myname"/>
</nodes>
<nodes id="menu.1"/>
<nodes root="/"
cat="cat-menu"
value=""
id="menuContainer.1">
<menus xsi:type="xpathtest:Menu"
id="menu.1"
label="Menu One">
<children
xsi:type="xpathtest:MenuItem"
id="item.1"
label="MenuItem 1"
mnemonic="101"/>
<children
xsi:type="xpathtest:MenuItem"
id="item.2"
label="MenuItem 2"/>
</menus>
</nodes>
</xpathtest:Root>
|