DialogXML: Support <key> in <text> with optional ref=

This commit is contained in:
2020-02-23 23:02:16 -05:00
parent 3a193afb98
commit c8549ca680
4 changed files with 39 additions and 9 deletions

View File

@@ -149,11 +149,16 @@
</xs:simpleContent>
</xs:complexType>
<xs:complexType mixed="true" name="message">
<xs:sequence>
<xs:element name="br" minOccurs="0" maxOccurs="unbounded">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="br">
<xs:complexType/>
</xs:element>
</xs:sequence>
<xs:element name="key">
<xs:complexType>
<xs:attribute name='ref' type='xs:token'/>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="name" type="xs:token"/>
<xs:attributeGroup ref="frame"/>
<xs:attributeGroup ref="font"/>
@@ -312,5 +317,9 @@
<xs:selector xpath="*"/>
<xs:field xpath="@anchor"/>
</xs:keyref>
<xs:keyref name="keyRef" refer="uniqueID">
<xs:selector xpath="key"/>
<xs:field xpath="@ref"/>
</xs:keyref>
</xs:element>
</xs:schema>