<listitem><para>Create your webpages and your <filename>layout.xml</filename>
file.</para></listitem>
-<listitem><para>Create a skeletal <filename>Makefile</filename> like this:
-</para>
+<listitem><para>Create a skeletal <filename>Makefile</filename> like
+the one below.</para>
+
+<note>
+ <para>See the included <ulink
+ url="Makefile-example.txt">Makefile-example.txt</ulink> file for a
+ more detailed example of a real-world makefile. The
+ <filename>Makefile-example.txt</filename> file is the actual
+ makefile used to build the pages you are reading now.</para>
+</note>
<programlisting><![CDATA[PROC=xsltproc
STYLEDIR=../xsl
--- /dev/null
+<!DOCTYPE webpage SYSTEM "../schema/dtd/website.dtd">
+<webpage id="nontabular">
+<config param="desc" value="Building Non-Tabular Websites"/>
+<config param="rcsdate" value="$Date$"/>
+<head>
+<title>Building Non-Tabular Websites</title>
+<titleabbrev>Non-Tabular</titleabbrev>
+<summary>Building non-tabular Websites</summary>
+</head>
+
+<para>The <filename>tabular.xsl</filename> and
+<filename>chunk-tabular.xsl</filename> stylesheets produce a two-column
+tabular website. If you wish to produce a non-tabular presentation
+more suitable for text-only or audio browsing, use the
+<filename>website.xsl</filename> or
+<filename>chunk-website.xsl</filename> stylesheets.</para>
+
+<para>It's possible to generate both tabular and non-tabular presentations
+in the same directory(ies). Use the <literal>filename-prefix</literal>
+parameter to put a prefix (such as <quote><literal>nontab-</literal></quote>)
+on the non-tabular versions (or put a prefix on the tabular versions,
+if you prefer).</para>
+
+</webpage>
+++ /dev/null
-<!DOCTYPE webpage SYSTEM "../schema/dtd/website.dtd">
-<webpage id="textonly">
-<config param="desc" value="Building Text-only Websites"/>
-<config param="rcsdate" value="$Date$"/>
-<head>
-<title>Building Text-only Websites</title>
-<titleabbrev>Text-only</titleabbrev>
-<summary>Building Text-onlyt Websites</summary>
-</head>
-
-<para>The <filename>tabular.xsl</filename> and
-<filename>chunk-tabular.xsl</filename> stylesheets produce a two-column
-tabular website. If you wish to produce a purely text-only presentation
-more suitable for text-only or audio browsing, use the
-<filename>website.xsl</filename> or
-<filename>chunk-website.xsl</filename> stylesheets.</para>
-
-<para>It's possible to generate both tabular and text-only presentations
-in the same directory(ies). Use the <literal>filename-prefix</literal>
-parameter to put a prefix (such as <quote><literal>txt</literal></quote>)
-on the text-only versions (or put a prefix on the tabular versions,
-if you prefer).</para>
-
-</webpage>
<!-- Main stylesheets -->
<property name="stylesheetHome" value="${docbookHome}/xsl"/>
- <!-- Website DTD and stylesheets -->
+ <!-- Website DTDs/schemas and stylesheets -->
<property name="websiteHome" value="${docbookHome}/website"/>
<!-- Main Docbook stylesheet -->
<para>This is just a test page.</para>
<webtoc/>
-<para>This page uses <filename>website-full.dtd</filename><indexterm>
+<para>This page uses <filename>website-full.dtd</filename>/<filename>website-full.rnc</filename><indexterm>
<primary><quote>Full</quote> website</primary></indexterm>. The <quote>full</quote>
-DTD is based on DocBook not Simplified DocBook. As such, it can include elements,
+DTD/RELAX NG schema is based on DocBook, not Simplified DocBook. As such, it can include elements,
like <sgmltag>qandaset</sgmltag> and <sgmltag>index</sgmltag> not present in
<quote>regular</quote> website.</para>
<!DOCTYPE layout PUBLIC "-//Norman Walsh//DTD Website Layout V2.5.0//EN"
"http://docbook.sourceforge.net/release/website/2.5.0/schema/dtd/layout.dtd">
<layout>
- <config param="text-prefix" value="txt"/>
+ <config param="text-prefix" value="n-"/>
<config param="homebanner-tabular" value="graphics/homebanner.png"
altval="Home Banner"/>
<toc page="website.xml" filename="index.html">
<tocentry page="wslayout.xml" filename="layout.html"/>
- <tocentry page="olink.xml" filename="linking.html"/>
+ <tocentry page="olink.xml" filename="linking.html" revisionflag="changed"/>
<tocentry page="custom.xml" filename="custom.html"/>
<tocentry page="building.xml" filename="building.html" tocskip='1'>
<tocentry page="build-make.xml" filename="buildmake.html" revisionflag="changed"/>
<tocentry page="build-ext.xml" filename="buildext.html"/>
- <tocentry page="build-textonly.xml" filename="textonly.html"/>
+ <tocentry page="build-nontab.xml" filename="nontab.html" revisionflag="changed"/>
</tocentry>
<tocentry page="test2.xml" filename="formtest.html"/>
<tocentry page="test3.xml" filename="test3.html"/>
<tocentry page="rddl.xml" filename="rddl.html"/>
<tocentry page="php.xml" filename="php.html"/>
- <tocentry page="rss.xml" filename="rss.html" revisionflag="added"/>
- <tocentry page="full.xml" filename="full.html" revisionflag="added"/>
+ <tocentry page="rss.xml" filename="rss.html"/>
+ <tocentry page="full.xml" filename="full.html" revisionflag="changed"/>
<tocentry page="revflag.xml" filename="revflag.html"/>
<tocentry id="nwalsh.com" href="http://nwalsh.com/">
<title>nwalsh.com</title>
parameter on the command line.</para>
</listitem>
</orderedlist>
-<para>Here is a sample <filename>Makefile</filename> using xsltproc and XML catalogs:</para>
+<para>Below is a simple example <filename>Makefile</filename> (using
+xsltproc and XML catalogs) that does a olink-aware build of a
+website.</para>
+<note>
+ <para>See the included <ulink
+ url="Makefile-example.txt">Makefile-example.txt</ulink> file for a
+ more detailed example of a real-world makefile. The
+ <filename>Makefile-example.txt</filename> file is the actual
+ makefile used to build the pages you are reading now.</para>
+</note>
<programlisting>
PROC = XML_CATALOG_FILES=../catalog.xml xsltproc
<keywords>Norman Walsh, DSSSL, SGML, XML, DocBook, Website</keywords>
</head>
-<para> This small, somewhat contrived website demonstrates the
+<para>This small, somewhat contrived website demonstrates the
Website document type. Website provides a system for building static
Websites from XML content.</para>
-<para>A <ulink url="txtindex.html">text-only</ulink> version is also
-available, demonstrating how multiple presentations can be derived from
-the same sources.</para>
+<note>
+ <para>Though this "site" remains a good example of a Website
+ instance, the how-to information here is no longer actively
+ maintained. For more up-to-date information, see the <ulink
+ url="http://sagehill.net/docbookxsl/Website.html">Website</ulink>
+ chapter in Bob Stayton's book <ulink
+ url="http://sagehill.net/book-description.html">DocBook XSL: The
+ Complete Guide</ulink>.</para>
+</note>
+
+<para>Both <ulink url="index.html">tabular</ulink> and <ulink
+url="n-index.html">non-tabular</ulink> versions are available,
+demonstrating how multiple presentations can be derived from the same
+sources.</para>
<webtoc/>
<para>A website is a collection of pages organized, for the purposes of
navigation, into one or more hierarchies. In Website, each page is a
-separate XML document authored according to the Website DTD, a customization
+separate XML document authored according to the Website schema/DTD, a customization
of <ulink url="http://www.oasis-open.org/docbook/">DocBook</ulink>.</para>
<para>Website imposes the following additional constraints:</para>
<section><title>Requirements</title>
-<para>In order to build a website with Website, you must have:</para>
+<para>In order to build a website with DocBook Website, you must have,
+at a minimum:</para>
<itemizedlist>
-<listitem><para>The
-<ulink url="http://www.oasis-open.org/docbook/xml/4.1.2/">DocBook XML
-V4.1.2</ulink> DTD.
-</para></listitem>
-<listitem><para>An XSLT processor.
-</para></listitem>
-<listitem><para>The <ulink url="http://nwalsh.com/docbook/xsl/">DocBook
-XSL Stylesheets</ulink>.</para>
+<listitem><para>The Website DTD (either
+<filename>website.dtd</filename> or
+<filename>website-full.dtd</filename>) OR the Website RELAX NG schema
+(<filename>website.rnc</filename> or
+<filename>website-full.rnc</filename>).</para></listitem>
+<listitem><para>The <ulink
+url="http://www.oasis-open.org/docbook/xml/4.4/">DocBook XML
+V4.4</ulink> DTD (if you want to use
+<filename>website-full.dtd</filename>).</para></listitem>
+<listitem><para>The Website XSL stylesheets.</para></listitem>
+<listitem><para>The <ulink
+url="http://docbook.sourceforge.net/release/xsl/">DocBook XSL
+Stylesheets</ulink> (which are imported by the Website XSL
+stylesheets).</para>
</listitem>
-<listitem><para>The Website DTD and stylesheets.
+<listitem><para>An XSLT engine such as Saxon or xsltproc.
</para></listitem>
</itemizedlist>