From 36646e0bd057a89e7f798ea933f10c05431ffef9 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Thu, 23 Oct 2014 08:08:38 +0200 Subject: [PATCH] .dtd --> .xsd --- Sda1/sda1.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Sda1/sda1.xml b/Sda1/sda1.xml index fdec45b95..8892198b4 100644 --- a/Sda1/sda1.xml +++ b/Sda1/sda1.xml @@ -1758,7 +1758,7 @@ terminated by the matching end-tag "</to>". parsing error</computeroutput> type</emphasis> to denote an <code><!ELEMENT ...</code> definition in a DTD. Thus we will talk about an element type <tag class="element">subject</tag> being defined in - <filename>memo.dtd</filename>.</para> + <filename>memo.xsd</filename>.</para> <para>An element type being defined in a <abbrev xlink:href="http://en.wikipedia.org/wiki/Document_Type_Declaration">schema</abbrev> @@ -1801,7 +1801,7 @@ terminated by the matching end-tag "</to>". parsing error</computeroutput> <para>Copy the two files <link xlink:href="Ref/src/Memo.1/message.xml">message.xml</link> and <link - xlink:href="Ref/src/Memo.1/memo.dtd">memo.xsd</link> into + xlink:href="Ref/src/Memo.1/memo.xsd">memo.xsd</link> into your eclipse project. Use the Oxygen XML plug in to check if the document is valid. Then subsequently do and undo the following changes each time checking the document for @@ -1853,7 +1853,7 @@ terminated by the matching end-tag "</to>". parsing error</computeroutput> and sets of <link linkend="gloss_Java"><trademark>Java</trademark></link> classes rather then building a running application. We want - to model the <link xlink:href="Ref/src/Memo.1/memo.dtd">memo + to model the <link xlink:href="Ref/src/Memo.1/memo.xsd">memo schema</link> as a set of <link linkend="gloss_Java"><trademark>Java</trademark></link> classes.</para> @@ -2397,7 +2397,7 @@ public class Memo { <para>An extended DTD looks like:</para> <figure xml:id="paraListEmphasize"> - <title>Version 2 of book.dtd</title> + <title>Version 2 of book.xsd</title> <programlisting language="none"><?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" @@ -2536,7 +2536,7 @@ public class Memo { <title>Allow different languages</title> <qandaset defaultlabel="qanda" xml:id="example_book.dtd_v3"> - <title>book.dtd and languages</title> + <title>book.xsd and languages</title> <qandadiv> <qandaentry> @@ -2747,7 +2747,7 @@ public class Memo { <title>Internal references</title> <qandaset defaultlabel="qanda" xml:id="example_book.dtd_v5"> - <title>book.dtd and internal references</title> + <title>book.xsd and internal references</title> <qandadiv> <qandaentry> @@ -2965,7 +2965,7 @@ public class Memo { xlink:href="http://www.w3.org/Style/XSL">XSL</abbrev> example</title> <para>We start from an extended version of our - <filename>memo.dtd</filename>:</para> + <filename>memo.xsd</filename>:</para> <programlisting language="none"><!ELEMENT memo (from, to+, subject, content)> <!ATTLIST memo date CDATA #REQUIRED @@ -3933,7 +3933,7 @@ IV: ... <para>We now present a series of exercises showing how to format <tag class="starttag">book</tag> document instances to XHTML. This is done in a step by step manner each time showing correspondent - code snippets for our <filename>memo.dtd</filename>.</para> + code snippets for our <filename>memo.xsd</filename>.</para> <section xml:id="section_memo_to_list"> <title>Listing the recipients of a memo</title> @@ -4044,7 +4044,7 @@ IV: ... xlink:href="http://www.w3.org/Style/XSL">XSL</abbrev> style sheet to transform instances of the first version of <link endterm="example_bookDtd" - linkend="example_bookDtd">book.dtd</link> (<xref + linkend="example_bookDtd">book.xsd</link> (<xref linkend="example_bookDtd"/>) into <uri xlink:href="http://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Strict">Xhtml 1.0 strict</uri>.</para> @@ -4055,7 +4055,7 @@ IV: ... create a <abbrev xlink:href="http://www.w3.org/Style/XSL">XSL</abbrev> style sheet which transforms arbitrary - <filename>book.dtd</filename> document instances into a + <filename>book.xsd</filename> document instances into a corresponding Xhtml file.</para> </question> @@ -4607,11 +4607,11 @@ you need some </emphasis><em>time</em><emphasis role="bold">.</empha xlink:href="Ref/src/Dtd/book/v5/book2html.1.xsl">(Online HTML version) ... book2html.1.xsl</link>. We discuss some important aspects. The following table provides mapping - rules from <filename>book.dtd</filename> to Xhtml:</para> + rules from <filename>book.xsd</filename> to Xhtml:</para> <table xml:id="table_book2xhtml_element_mappings"> <title>Mapping elements from - <filename>book.dtd</filename> to Xhtml</title> + <filename>book.xsd</filename> to Xhtml</title> <?dbhtml table-width="50%" ?> @@ -4624,7 +4624,7 @@ you need some </emphasis><em>time</em><emphasis role="bold">.</empha <thead> <row> - <entry>book.dtd</entry> + <entry>book.xsd</entry> <entry>Xhtml</entry> </row> -- GitLab