/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
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- <?xml version="1.0" encoding="utf-8" ?>
- <schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://cars.example.com/schema"
- xmlns:target="http://cars.example.com/schema">
- <complexType name="Vehicle" abstract="true"/>
- <complexType name="Car">
- <complexContent>
- <extension base="target:Vehicle"/>
- </complexContent>
- </complexType>
- <complexType name="Plane">
- <complexContent>
- <extension base="target:Vehicle"/>
- </complexContent>
- </complexType>
- <element name="transport" type="target:Vehicle"/>
- </schema>