********** Chapter 17 ********** Identity constraints ==================== Binding Test ************ **Schema** .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/chapter17.xsd :language: xml :lines: 2- **XML Document** .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/chapter17.xml :language: xml :lines: 2- **xsData XML Document** .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/chapter17.xsdata.xml :language: xml :lines: 2- **xsData JSON** .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/chapter17.json :language: json Example 17-13 Referencing an identity constraint in a restriction ***************************************************************** .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1713.xsd :language: xml :lines: 3- .. literalinclude:: /../tests/fixtures/defxmlschema/chapter17/example1713.py :language: python .. admonition:: Samples Source :class: hint `Definitive XML Schema `_ by Priscilla Walmsley (c) 2012 Prentice Hall PTR