Skip to content
Snippets Groups Projects
Commit 9f12b680 authored by Goik Martin's avatar Goik Martin
Browse files

Exercise related hints

parent f2b6ec91
No related branches found
No related tags found
No related merge requests found
......@@ -775,11 +775,29 @@ public class Memo {
<para>Represent the relational schema being described in <xref
linkend="invoiceSqlDdl"/> by an XML Schema and provide an
appropriate example instance. Try to resemble the relational
schema as close as possible.</para>
schema as close as possible. A possible roadmap:</para>
<orderedlist>
<listitem>
<para>Collect all relational constraints and write them down
informally.</para>
</listitem>
<listitem>
<para>Start from a (just) well-formed <xref
linkend="glo_XML"/> document which allows for entering data
corresponding to the relational model.</para>
</listitem>
<listitem>
<para>Add an <xref linkend="glo_XSD"/> schema file providing
all constraints from your relational model.</para>
</listitem>
</orderedlist>
</question>
<answer>
<para>A possible schema implementation:</para>
<para>A possible schema implementation reads:</para>
<programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment