Semi-working entity references (no editor support)

This commit is contained in:
2016-01-12 11:35:32 +01:00
parent 84818f6fcb
commit 39b9b3c2a7
7 changed files with 51 additions and 29 deletions
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Entity xmlns:c="components" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Types/Entity.xsd">
<Components>
<c:Transform/>
</Components>
<Children>
<Entity ref="Schema/Entities/RaptorCopter.xml">
<Components>
<c:Transform>
<Position X="1" Y="2" Z="3" />
</c:Transform>
</Components>
</Entity>
</Children>
</Entity>
+1 -7
View File
@@ -24,19 +24,13 @@
<xs:complexType>
<xs:sequence>
<xs:element ref="Entity" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="EntityRef" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:attribute name="file" type="xs:string" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute ref="xml:base"/>
<xs:attribute name="name" type="xs:string" minOccurs="0" default=""/>
<xs:attribute name="ref" type="xs:string" minOccurs="0" default=""/>
</xs:complexType>
</xs:element>
</xs:schema>
View File