source: trunk/lib/docbook/website/schema/relaxng/website.rng @ 3162

Last change on this file since 3162 was 3153, checked in by Nicklas Nordborg, 16 years ago

Added docbook DTD:s and stylesheets

File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<grammar xmlns="http://relaxng.org/ns/structure/1.0"
3         xmlns:rng="http://relaxng.org/ns/structure/1.0"
4         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
5         xmlns:doc="http://nwalsh.com/xmlns/documentation"
6         xmlns:db="http://nwalsh.com/xmlns/docbook-grammar-structure"
7         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
8
9<rng:div doc:docbook="yes" xmlns="">
10<partinfo>
11<releaseinfo
12   role="cvs">$Id: website.rng,v 1.1 2004/03/03 22:31:10 dweiss Exp $</releaseinfo>
13<title>Website</title>
14<productname>Website</productname>
15<productnumber>2.5.0</productnumber>
16<releaseinfo role="filename">website</releaseinfo>
17<copyright>
18<year>1997</year>
19<year>1998</year>
20<year>1999</year>
21<year>2000</year>
22<year>2001</year>
23<year>2002</year>
24<year>2003</year>
25<holder>Norman Walsh</holder>
26</copyright>
27</partinfo>
28
29<partintro>
30<para>This is the driver file for V2.5.0 of the Website document type.
31Please use the following formal public identifier to identify it:</para>
32
33<screen>"-//Norman Walsh//DTD Website V2.5.0//EN"</screen>
34
35<para>For example, if
36you are using the Website DTD directly, use the FPI in the DOCTYPE
37declaration:</para>
38
39<programlisting><![CDATA[<!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website V2.5.0//EN"
40               "http://docbook.sourceforge.net/release/website/2.5.0/website.dtd">
41               [...]>]]></programlisting>
42
43<para>Or, if you have a higher-level driver file that customizes Website,
44use the FPI in the parameter entity declaration:</para>
45
46<programlisting><![CDATA[<!ENTITY % WebsiteDTD PUBLIC "-//Norman Walsh//DTD Website V2.5.0//EN"
47           "http://docbook.sourceforge.net/release/website/2.5.0/website.dtd">
48%WebsiteDTD;]]></programlisting>
49
50<para>Please direct all questions and comments about this DTD to
51Norman Walsh, <email>ndw@nwalsh.com</email>.</para>
52</partintro>
53</rng:div>
54
55<include href="websitedb.rng"/>
56<include href="extensions.rng"/>
57
58<define name="webpage.mix">
59  <zeroOrMore>
60    <ref name="config"/>
61  </zeroOrMore>
62  <ref name="head"/>
63  <ref name="bookcomponent.content"/>
64  <zeroOrMore>
65    <ref name="appendix"/>
66  </zeroOrMore>
67  <zeroOrMore>
68    <ref name="bibliography"/>
69  </zeroOrMore>
70</define>
71
72<start>
73  <choice>
74    <ref name="webpage"/>
75  </choice>
76</start>
77
78</grammar>
Note: See TracBrowser for help on using the repository browser.