/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
- <?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>