PageRenderTime 52ms CodeModel.GetById 49ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/test_data/abstract_substitution/abstract_type.xsd

#
XML Schema | 22 lines | 17 code | 5 blank | 0 comment | 0 complexity | c7285113619d409dd1c0875629af6f54 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8" ?>
 2<schema xmlns="http://www.w3.org/2001/XMLSchema"
 3           targetNamespace="http://cars.example.com/schema"
 4           xmlns:target="http://cars.example.com/schema">
 5
 6  <complexType name="Vehicle" abstract="true"/>
 7
 8  <complexType name="Car">
 9    <complexContent>
10      <extension base="target:Vehicle"/>
11    </complexContent>
12  </complexType>
13
14  <complexType name="Plane">
15    <complexContent>
16      <extension base="target:Vehicle"/>
17    </complexContent>
18  </complexType>
19
20  <element name="transport" type="target:Vehicle"/>
21</schema>
22