<?xml version="1.0" encoding="UTF-8"?> | |
<ecore:EPackage xmi:version="2.0" | |
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="xml" | |
nsURI="http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML" nsPrefix="modisco.xml"> | |
<eClassifiers xsi:type="ecore:EClass" name="Node" abstract="true"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false" | |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="parent" ordered="false" | |
eType="#//Element" eOpposite="#//Element/children"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#//Node"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false" | |
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Text" eSuperTypes="#//Node"/> | |
<eClassifiers xsi:type="ecore:EClass" name="Element" eSuperTypes="#//Node"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | |
eType="#//Node" containment="true" eOpposite="#//Node/parent"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Root" eSuperTypes="#//Element"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="namespaces" upperBound="-1" | |
eType="#//Namespace" containment="true"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="dtd" eType="#//DocumentTypeDeclaration" | |
containment="true"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="leadingPIs" upperBound="-1" | |
eType="#//ProcessingInstruction" containment="true"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Namespace" eSuperTypes="#//Attribute"/> | |
<eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//Node"/> | |
<eClassifiers xsi:type="ecore:EClass" name="DocumentTypeDeclaration" eSuperTypes="#//Node"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="publicID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="systemID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="CDATA" eSuperTypes="#//Text"/> | |
<eClassifiers xsi:type="ecore:EClass" name="ProcessingInstruction" eSuperTypes="#//Node"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="data" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
</ecore:EPackage> |