============================ #13 - Deriving complex types ============================ **Code Generation** .. tab:: Schema .. literalinclude:: /../tests/fixtures/defxmlschema/chapter13.xsd :language: xml :lines: 2- .. tab:: Models .. literalinclude:: /../tests/fixtures/defxmlschema/chapter13.py :language: python **Data Binding** .. tab:: Original XML Document .. literalinclude:: /../tests/fixtures/defxmlschema/chapter13.xml :language: xml :lines: 2- .. tab:: xsData XML Output .. literalinclude:: /../tests/fixtures/defxmlschema/chapter13.xsdata.xml :language: xml :lines: 2- .. tab:: xsData JSON Output .. literalinclude:: /../tests/fixtures/defxmlschema/chapter13.json :language: json .. admonition:: Samples Source :class: hint `Definitive XML Schema `_ by Priscilla Walmsley (c) 2012 Prentice Hall PTR