defxmlschema/chapter02 ====================== Example 2-10 Product schema document with target namespace ---------------------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0210.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0210.py :language: python Example 2-2 Product schema -------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0202.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0202.py :language: python Example 2-6 Anonymous type -------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0206.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0206.py :language: python Example 2-8 More complicated content model ------------------------------------------ .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0208.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0208.py :language: python Example 2-9 Complex type extension ---------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0209.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter02/example0209.py :language: python .. admonition:: Samples Source :class: hint `Definitive XML Schema `_ by Priscilla Walmsley (c) 2012 Prentice Hall PTR