defxmlschema/chapter21 ====================== Example 21-1 Schema for Russian Doll approach --------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2101.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2101.py :language: python Example 21-10 Different namespaces in a schema ---------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21101.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21101.py :language: python Example 21-10 Different namespaces in a schema ---------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21102.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21102.py :language: python Example 21-10 Different namespaces in a schema ---------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21103.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21103.py :language: python Example 21-13 Chameleon namespaces in a schema ---------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21132.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21132.py :language: python Example 21-13 Chameleon namespaces in a schema ---------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21133.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21133.py :language: python Example 21-16 Schema for qualified local element names ------------------------------------------------------ .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21161.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21161.py :language: python Example 21-16 Schema for qualified local element names ------------------------------------------------------ .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21162.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21162.py :language: python Example 21-2 Schema for Salami Slice approach --------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2102.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2102.py :language: python Example 21-3 Schema for Venetian Blind approach ----------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2103.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2103.py :language: python Example 21-4 Schema for Garden of Eden approach ----------------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2104.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example2104.py :language: python Example 21-8 Same namespace in a schema --------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21081.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21081.py :language: python Example 21-8 Same namespace in a schema --------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21082.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21082.py :language: python Example 21-8 Same namespace in a schema --------------------------------------- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21083.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter21/example21083.py :language: python .. admonition:: Samples Source :class: hint `Definitive XML Schema `_ by Priscilla Walmsley (c) 2012 Prentice Hall PTR