Permalink
Browse files

Removed DocBook `xml-model` PIs

No need for them; Oxygen’s got it covered.
  • Loading branch information...
1 parent c4a423f commit a5e1c47dcb31102b5426a1f63e1cf39c26fbd3fd Zearin committed Jul 12, 2013
Showing with 20 additions and 276 deletions.
  1. +0 −6 src/docbook/about/about.xml
  2. +0 −5 src/docbook/books/books.part.xml
  3. +0 −6 src/docbook/docbook.xml
  4. +0 −6 src/docbook/intro/introduction.part.xml
  5. +0 −6 src/docbook/links/links.part.xml
  6. +0 −5 src/docbook/patterns/abstraction/abstraction.xml
  7. +0 −6 src/docbook/patterns/abstraction/choice-reducing-container.xml
  8. +0 −6 src/docbook/patterns/abstraction/collection.xml
  9. +0 −6 src/docbook/patterns/abstraction/container.xml
  10. +0 −6 src/docbook/patterns/abstraction/domain.xml
  11. +0 −6 src/docbook/patterns/abstraction/optional-container.xml
  12. +0 −6 src/docbook/patterns/consistency/common-attributes.xml
  13. +0 −6 src/docbook/patterns/consistency/consistency.xml
  14. +0 −6 src/docbook/patterns/consistency/consistent-elements.xml
  15. +0 −6 src/docbook/patterns/consistency/parallel-design.xml
  16. +0 −6 src/docbook/patterns/doc-roots/doc-roots.xml
  17. +0 −6 src/docbook/patterns/doc-roots/multi-doc-types.xml
  18. +0 −6 src/docbook/patterns/doc-roots/multi-root.xml
  19. +0 −6 src/docbook/patterns/doc-roots/universal-root.xml
  20. +0 −6 src/docbook/patterns/flexibility/catch-all.xml
  21. +20 −38 src/docbook/patterns/flexibility/extensible.xml
  22. +0 −6 src/docbook/patterns/flexibility/flexibility.xml
  23. +0 −6 src/docbook/patterns/flexibility/generic.xml
  24. +0 −6 src/docbook/patterns/flexibility/role.xml
  25. +0 −6 src/docbook/patterns/metadata/head-body.xml
  26. +0 −6 src/docbook/patterns/metadata/metadata-data.xml
  27. +0 −6 src/docbook/patterns/metadata/metadata-doc.xml
  28. +0 −6 src/docbook/patterns/metadata/metadata-first.xml
  29. +0 −6 src/docbook/patterns/metadata/metadata.xml
  30. +0 −6 src/docbook/patterns/misc/content-type-label.xml
  31. +0 −6 src/docbook/patterns/misc/misc.xml
  32. +0 −6 src/docbook/patterns/misc/reuse-doc-types.xml
  33. +0 −6 src/docbook/patterns/misc/short-understandable-names.xml
  34. +0 −6 src/docbook/patterns/misc/use-xml.xml
  35. +0 −6 src/docbook/patterns/organization/declare-before.xml
  36. +0 −6 src/docbook/patterns/organization/envelope.xml
  37. +0 −6 src/docbook/patterns/organization/flyweight.xml
  38. +0 −6 src/docbook/patterns/organization/marketplace.xml
  39. +0 −6 src/docbook/patterns/organization/organization.xml
  40. +0 −6 src/docbook/patterns/organization/referenced-note.xml
  41. +0 −6 src/docbook/patterns/patterns.part.xml
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<article
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,9 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<part xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<book
xmlns = "http://docbook.org/ns/docbook"
xmlns:xi= "http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<part
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<part
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,9 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<chapter
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<chapter
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<chapter
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -52,24 +46,16 @@
<section>
<title>Examples</title>
- <example>
- <title>Using DTDs</title>
+ <section>
+ <title>Using DTDs</title>
- <para>This example uses a DTD that allows the document instance to extend an Address
- element. This is done through use a parameter entity which is defined in the DTD,
- but the creator of the document instance can overwrite.</para>
- <para>First a DTD is created that defines a simple Address type, consisting only of the
- Name, Street and City. Realizing that this may not be enough for all users of this
- document type, the designer defines a parameter entity called local.address that is
- blank (&quot;&quot;) but can be extended in the document instance.</para>
- <example>
- <title>purchase_order.dtd</title>
+ <para>This example uses a DTD that allows the document instance to extend an Address element. This is done through use a parameter entity which is defined in the DTD, but the creator of the document instance can overwrite.</para>
+ <para>First a DTD is created that defines a simple Address type, consisting only of the Name, Street and City. Realizing that this may not be enough for all users of this document type, the designer defines a parameter entity called local.address that is blank (&quot;&quot;) but can be extended in the document instance.</para>
- <screen>
-
- </screen>
+ <example>
+ <title>purchase_order.dtd</title>
- <programlisting language="dtd"><![CDATA[
+ <programlisting language="dtd"><![CDATA[
<!ENTITY % local.address "">
<!ENTITY % address "Name, Street, City %local.address;">
<!ELEMENT PurchaseOrder ( Item, ShipTo, BillTo )>
@@ -80,19 +66,15 @@
<!ELEMENT Street (#PCDATA)>
<!ELEMENT City (#PCDATA)>
]]></programlisting>
- </example>
+ </example>
- <para>The creator of a document decides that the address defined in the DTD is
- inadequate for the document being create, so he extends the definition of an Address
- to include State and Zip. To do this he creates his own definition of the
- local.address Parameter Entity. This allows him to add these elements to his own
- address structure.</para>
+ <para>The creator of a document decides that the address defined in the DTD is inadequate for the document being create, so he extends the definition of an Address to include State and Zip. To do this he creates his own definition of the local.address Parameter Entity. This allows him to add these elements to his own address structure.</para>
- <example>
- <title>mydoc.xml</title>
+ <example>
+ <title>mydoc.xml</title>
- <programlisting language="xml"><![CDATA[
+ <programlisting language="xml"><![CDATA[
<!DOCTYPE PURCHASE_ORDER SYSTEM "purchase_order.dtd" [
<!ENTITY % local.address ", State, Zip" >
<!ELEMENT State (#PCDATA)>
@@ -118,10 +100,10 @@
</BillTo>
</PurchaseOrder>
]]></programlisting>
- </example>
- </example>
+ </example>
+ </section>
- <example>
+ <section>
<title>Using XML Schemas</title>
<para>This next example uses XML Schemas to do the same thing. We use the XML Schema
@@ -130,10 +112,10 @@
future versions of the XML Schema. A schema is created to include the simple Address
type with a Name, Street, and City.</para>
- <example>
- <title>PurchaseOrder.xsd</title>
+ <example>
+ <title>PurchaseOrder.xsd</title>
- <programlisting language="xml"><![CDATA[
+ <programlisting language="xml"><![CDATA[
<xsd:schema
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
@@ -156,7 +138,7 @@ xmlns:xsd="http://www.w3.org/1999/XMLSchema">
</xsd:schema>
]]></programlisting>
- </example>
+ </example>
<para>The author of a document realizes that this simple address definition will not be
adequate, so a new address type is created. The new type is extended from the old
@@ -219,7 +201,7 @@ xmlns:xsd="http://www.w3.org/1999/XMLSchema">
</PurchaseOrder>
]]></programlisting>
</example>
- </example>
+ </section>
</section>
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
-?>
<chapter
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -1,10 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<?xml-model
- title = ''
- type = 'application/xml'
- schematypens= 'http://relaxng.org/ns/structure/1.0'
- href = 'http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng'
-?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
Oops, something went wrong.

0 comments on commit a5e1c47

Please sign in to comment.