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