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