Project

Profile

Help

Support #2252 » schema.xsd

Jason Mihalick, 2014-12-10 23:43

 
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="elementA">
<xs:complexType>
<xs:sequence>
<xs:element name="elementB">
<xs:complexType>
<xs:sequence>
<xs:element name="elementID">
<xs:complexType>
<xs:attribute name="rid" use="required" type="xs:IDREF"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="elementC"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
</xs:complexType>
</xs:element>
</xs:schema>
(1-1/2)