PageRenderTime 44ms CodeModel.GetById 22ms 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
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
  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. <complexType name="Vehicle" abstract="true"/>
  6. <complexType name="Car">
  7. <complexContent>
  8. <extension base="target:Vehicle"/>
  9. </complexContent>
  10. </complexType>
  11. <complexType name="Plane">
  12. <complexContent>
  13. <extension base="target:Vehicle"/>
  14. </complexContent>
  15. </complexType>
  16. <element name="transport" type="target:Vehicle"/>
  17. </schema>