]> granicus.if.org Git - docbook-dsssl/commitdiff
Make *.xweb instances valid against the
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 17 Jul 2007 04:28:48 +0000 (04:28 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 17 Jul 2007 04:28:48 +0000 (04:28 +0000)
https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/docbook/relaxng/params/refentry.rnc
grammar.

xsl/fo/param.xweb
xsl/html/param.xweb
xsl/lib/lib.xweb
xsl/manpages/param.xweb
xsl/roundtrip/param.xweb
xsl/slides/fo/param.xweb
xsl/slides/html/param.xweb
xsl/website/param.xweb

index 868521f658ca7b83e29d6a2028b9a7c505363248..704a0f28cf22806c46d3f94693c1eeafe54be699 100644 (file)
@@ -2,16 +2,21 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
-      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  >
+<info>
 <title>FO Parameter Reference</title>
 <releaseinfo role="meta">
 $Id$
 </releaseinfo>
 <author>
-  <surname>Walsh</surname>
-  <firstname>Norman</firstname>
+  <personname>
+    <surname>Walsh</surname>
+    <firstname>Norman</firstname>
+  </personname>
 </author>
 <copyright>
   <year>1999</year>
@@ -30,9 +35,8 @@ $Id$
   parameters in the DocBook XSL FO stylesheets (for generating
   XSL-FO output destined for final print/PDF output).</para>
 </abstract>
-</bookinfo>
-
-<reference id="admons"><title>Admonitions</title>
+</info>
+<reference xml:id="admons"><title>Admonitions</title>
 &admon.graphics;
 &admon.graphics.extension;
 &admon.graphics.path;
@@ -42,8 +46,7 @@ $Id$
 &graphical.admonition.properties;
 &nongraphical.admonition.properties;
 </reference>
-
-<reference id="callouts"><title>Callouts</title>
+<reference xml:id="callouts"><title>Callouts</title>
 &callout.defaultcolumn;
 &callout.graphics;
 &callout.graphics.extension;
@@ -56,8 +59,7 @@ $Id$
 &callout.unicode.start.character;
 &callouts.extension;
 </reference>
-
-<reference id="toc_index"><title>ToC/LoT/Index Generation</title>
+<reference xml:id="toc_index"><title>ToC/LoT/Index Generation</title>
 &autotoc.label.separator;
 &process.empty.source.toc;
 &process.source.toc;
@@ -91,8 +93,7 @@ generate.section.toc.level;
 -->
 
 </reference>
-
-<reference id="fo_ext"><title>Processor Extensions</title>
+<reference xml:id="fo_ext"><title>Processor Extensions</title>
 &arbortext.extensions;
 &axf.extensions;
 &fop.extensions;
@@ -102,8 +103,7 @@ generate.section.toc.level;
 &tex.math.delims;
 &xep.extensions;
 </reference>
-
-<reference id="dbk_ext"><title>Stylesheet Extensions</title>
+<reference xml:id="dbk_ext"><title>Stylesheet Extensions</title>
 &linenumbering.everyNth;
 &linenumbering.extension;
 &linenumbering.separator;
@@ -113,8 +113,7 @@ generate.section.toc.level;
 &textdata.default.encoding;
 &use.extensions;
 </reference>
-
-<reference id="labels"><title>Automatic labelling</title>
+<reference xml:id="labels"><title>Automatic labelling</title>
 &appendix.autolabel;
 &chapter.autolabel;
 &part.autolabel;
@@ -126,18 +125,15 @@ generate.section.toc.level;
 &label.from.part;
 &component.label.includes.part.label;
 </reference>
-
-<reference id="xslt"><title>XSLT Processing</title>
+<reference xml:id="xslt"><title>XSLT Processing</title>
 &rootid;
 </reference>
-
-<reference id="meta"><title>Meta/*Info</title>
+<reference xml:id="meta"><title>Meta/*Info</title>
 &make.single.year.ranges;
 &make.year.ranges;
 &author.othername.in.middle;
 </reference>
-
-<reference id="refentry"><title>Reference Pages</title>
+<reference xml:id="refentry"><title>Reference Pages</title>
 &funcsynopsis.decoration;
 &funcsynopsis.style;
 &function.parens;
@@ -148,8 +144,7 @@ generate.section.toc.level;
 &refentry.xref.manvolnum;
 &refclass.suppress;
 </reference>
-
-<reference id="tables"><title>Tables</title>
+<reference xml:id="tables"><title>Tables</title>
 &default.table.width;
 &nominal.table.width;
 &default.table.frame;
@@ -162,8 +157,7 @@ generate.section.toc.level;
 &table.cell.border.color;
 &table.table.properties;
 </reference>
-
-<reference id="links"><title>Linking</title>
+<reference xml:id="links"><title>Linking</title>
 &current.docid;
 &collect.xref.targets;
 &insert.olink.page.number;
@@ -178,8 +172,7 @@ generate.section.toc.level;
 &targets.filename;
 &use.local.olink.style;
 </reference>
-
-<reference id="xrefs"><title>Cross References</title>
+<reference xml:id="xrefs"><title>Cross References</title>
 &insert.xref.page.number;
 &xref.properties;
 &xref.label-title.separator;
@@ -187,8 +180,7 @@ generate.section.toc.level;
 &xref.title-page.separator;
 &insert.link.page.number;
 </reference>
-
-<reference id="lists"><title>Lists</title>
+<reference xml:id="lists"><title>Lists</title>
 &compact.list.item.spacing;
 &itemizedlist.properties;
 &itemizedlist.label.properties;
@@ -203,24 +195,21 @@ generate.section.toc.level;
 &variablelist.term.separator;
 &variablelist.term.break.after;
 </reference>
-
-<reference id="qa"><title>QAndASet</title>
+<reference xml:id="qa"><title>QAndASet</title>
 &qandadiv.autolabel;
 &qanda.inherit.numeration;
 &qanda.defaultlabel;
 &qanda.in.toc;
 &qanda.nested.in.toc;
 </reference>
-
-<reference id="biblio"><title>Bibliography</title>
+<reference xml:id="biblio"><title>Bibliography</title>
 &bibliography.style;
 &biblioentry.item.separator;
 &bibliography.collection;
 &bibliography.numbered;
 &biblioentry.properties;
 </reference>
-
-<reference id="glossary"><title>Glossary</title>
+<reference xml:id="glossary"><title>Glossary</title>
 &glossterm.auto.link;
 &firstterm.only.link;
 &glossary.collection;
@@ -231,8 +220,7 @@ generate.section.toc.level;
 &glossentry.show.acronym;
 &glossary.sort;
 </reference>
-
-<reference id="misc"><title>Miscellaneous</title>
+<reference xml:id="misc"><title>Miscellaneous</title>
 &formal.procedures;
 &formal.title.placement;
 &runinhead.default.title.end.punct;
@@ -272,8 +260,7 @@ generate.section.toc.level;
 &email.delimiters.enabled;
 &section.container.element;
 </reference>
-
-<reference id="graphics"><title>Graphics</title>
+<reference xml:id="graphics"><title>Graphics</title>
 &graphic.default.extension;
 &default.image.width;
 &preferred.mediaobject.role;
@@ -282,17 +269,16 @@ generate.section.toc.level;
 &img.src.path;
 &keep.relative.image.uris;
 </reference>
-
-<reference id="general"><title>Pagination and General Styles</title>
-<partintro id="margins_partintro">
-<section id="margins_intro"><title>Understanding XSL FO Margins</title>
+<reference xml:id="general"><title>Pagination and General Styles</title>
+<partintro xml:id="margins_partintro">
+<section xml:id="margins_intro"><title>Understanding XSL FO Margins</title>
 
 <para>To make sense of the parameters in this section, it's useful to
 consider <xref linkend="fig.pagemodel"/>.</para>
 
-<figure id="fig.pagemodel">
+<figure xml:id="fig.pagemodel">
   <title>Page Model</title>
-  <mediaobject id="fo-pageregions-image">
+  <mediaobject xml:id="fo-pageregions-image">
     <imageobject role="html">
       <imagedata fileref="page.png"/>
     </imageobject>
@@ -411,8 +397,7 @@ zero by default, so this is simply the page-master region-left.
 &footer.content.properties;
 &marker.section.level;
 </reference>
-
-<reference id="fonts"><title>Font Families</title>
+<reference xml:id="fonts"><title>Font Families</title>
 &body.font.family;
 &dingbat.font.family;
 &monospace.font.family;
@@ -420,8 +405,7 @@ zero by default, so this is simply the page-master region-left.
 &title.font.family;
 &symbol.font.family;
 </reference>
-
-<reference id="propsets"><title>Property Sets</title>
+<reference xml:id="propsets"><title>Property Sets</title>
 &formal.object.properties;
 &formal.title.properties;
 &informal.object.properties;
@@ -477,13 +461,11 @@ zero by default, so this is simply the page-master region-left.
 &revhistory.table.cell.properties;
 &revhistory.title.properties;
 </reference>
-
-<reference id="profiling"><title>Profiling</title>
-<partintro id="profiling_partintro">
-<para>Following parameters can be used for attribute value based
-profiling of your document. For more info about profiling look at
-<ulink
-url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html</ulink>.</para>
+<reference xml:id="profiling"><title>Profiling</title>
+<partintro xml:id="profiling_partintro">
+<para>The following parameters can be used for attribute-based
+profiling of your document. FIXME: add link to profiling section
+in Bob’s book.</para>
 </partintro>
 &profile.arch;
 &profile.audience;
@@ -503,37 +485,32 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http:
 &profile.value;
 &profile.separator;
 </reference>
-
-<reference id="l10n"><title>Localization</title>
+<reference xml:id="l10n"><title>Localization</title>
 &l10n.gentext.language;
 &l10n.gentext.default.language;
 &l10n.gentext.use.xref.language;
 &l10n.lang.value.rfc.compliant;
 </reference>
-
-<reference id="ebnf"><title>EBNF</title>
+<reference xml:id="ebnf"><title>EBNF</title>
 &ebnf.assignment;
 &ebnf.statement.terminator;
 </reference>
-
-<reference id="prepress"><title>Prepress</title>
+<reference xml:id="prepress"><title>Prepress</title>
 &crop.marks;
 &crop.mark.width;
 &crop.mark.offset;
 &crop.mark.bleed;
 </reference>
-
 <!--
 <reference><title></title>
 </reference>
 -->
-
-<appendix id="stylesheet"><title>The Stylesheet</title>
+<appendix xml:id="stylesheet"><title>The Stylesheet</title>
 
 <para>The <filename>param.xsl</filename> stylesheet is just a wrapper
 around all these parameters.</para>
 
-<src:fragment id="top" mundane-result-prefixes="xsl">
+<src:fragment xml:id="top" mundane-result-prefixes="xsl">
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 exclude-result-prefixes="src"
                 version='1.0'>
@@ -884,5 +861,4 @@ around all these parameters.</para>
 </src:fragment>
 
 </appendix>
-
 </book>
index 2301f6422b9f5161b206d45142dd6b197e2099f4..04eec98443e101cec4d5af411fbe6aeb5e7b257b 100644 (file)
@@ -2,16 +2,21 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
-      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+>
+<info>
 <title>HTML Parameter Reference</title>
 <releaseinfo role="meta">
 $Id$
 </releaseinfo>
 <author>
-  <surname>Walsh</surname>
-  <firstname>Norman</firstname>
+  <personname>
+    <surname>Walsh</surname>
+    <firstname>Norman</firstname>
+  </personname>
 </author>
 <copyright>
   <year>1999</year>
@@ -30,17 +35,15 @@ $Id$
   parameters in the DocBook XSL HTML stylesheets (for generating
   HTML output).</para>
 </abstract>
-</bookinfo>
-
-<reference id="admons"><title>Admonitions</title>
+</info>
+<reference xml:id="admons"><title>Admonitions</title>
 &admon.graphics.extension;
 &admon.graphics.path;
 &admon.graphics;
 &admon.textlabel;
 &admon.style;
 </reference>
-
-<reference id="callouts"><title>Callouts</title>
+<reference xml:id="callouts"><title>Callouts</title>
 &callout.defaultcolumn;
 &callout.graphics.extension;
 &callout.graphics.number.limit;
@@ -52,15 +55,13 @@ $Id$
 &callout.unicode;
 &callouts.extension;
 </reference>
-
-<reference id="ebnf"><title>EBNF</title>
+<reference xml:id="ebnf"><title>EBNF</title>
 &ebnf.table.bgcolor;
 &ebnf.table.border;
 &ebnf.assignment;
 &ebnf.statement.terminator;
 </reference>
-
-<reference id="toc_index"><title>ToC/LoT/Index Generation</title>
+<reference xml:id="toc_index"><title>ToC/LoT/Index Generation</title>
 &annotate.toc;
 &autotoc.label.separator;
 &autotoc.label.in.hyperlink;
@@ -83,8 +84,7 @@ $Id$
 &index.number.separator;
 &index.range.separator;
 </reference>
-
-<reference id="dbk_ext"><title>Stylesheet Extensions</title>
+<reference xml:id="dbk_ext"><title>Stylesheet Extensions</title>
 &linenumbering.everyNth;
 &linenumbering.extension;
 &linenumbering.separator;
@@ -96,8 +96,7 @@ $Id$
 &graphicsize.use.img.src.path;
 &use.extensions;
 </reference>
-
-<reference id="labels"><title>Automatic labelling</title>
+<reference xml:id="labels"><title>Automatic labelling</title>
 &chapter.autolabel;
 &appendix.autolabel;
 &part.autolabel;
@@ -110,13 +109,11 @@ $Id$
 &label.from.part;
 &component.label.includes.part.label;
 </reference>
-
 <!--
 <reference><title></title>
 </reference>
 -->
-
-<reference id="html"><title>HTML</title>
+<reference xml:id="html"><title>HTML</title>
 &html.base;
 &html.stylesheet.type;
 &html.stylesheet;
@@ -136,8 +133,7 @@ $Id$
 &generate.id.attributes;
 &generate.meta.abstract;
 </reference>
-
-<reference id="xslt"><title>XSLT Processing</title>
+<reference xml:id="xslt"><title>XSLT Processing</title>
 &rootid;
 &suppress.navigation;
 &suppress.header.navigation;
@@ -146,8 +142,7 @@ $Id$
 &footer.rule;
 &id.warnings;
 </reference>
-
-<reference id="meta"><title>Meta/*Info and Titlepages</title>
+<reference xml:id="meta"><title>Meta/*Info and Titlepages</title>
 &inherit.keywords;
 &make.single.year.ranges;
 &make.year.ranges;
@@ -162,8 +157,7 @@ $Id$
 &html.head.legalnotice.link.types;
 &html.head.legalnotice.link.multiple;
 </reference>
-
-<reference id="refentry"><title>Reference Pages</title>
+<reference xml:id="refentry"><title>Reference Pages</title>
 &funcsynopsis.decoration;
 &funcsynopsis.style;
 &funcsynopsis.tabular.threshold;
@@ -175,8 +169,7 @@ $Id$
 &refentry.separator;
 &refclass.suppress;
 </reference>
-
-<reference id="tables"><title>Tables</title>
+<reference xml:id="tables"><title>Tables</title>
 &default.table.width;
 &nominal.table.width;
 &table.borders.with.css;
@@ -190,15 +183,13 @@ $Id$
 &html.cellspacing;
 &html.cellpadding;
 </reference>
-
-<reference id="qa"><title>QAndASet</title>
+<reference xml:id="qa"><title>QAndASet</title>
 &qanda.defaultlabel;
 &qanda.inherit.numeration;
 &qanda.in.toc;
 &qanda.nested.in.toc;
 </reference>
-
-<reference id="links"><title>Linking</title>
+<reference xml:id="links"><title>Linking</title>
 &target.database.document;
 &targets.filename;
 &olink.base.uri;
@@ -219,8 +210,7 @@ $Id$
 &olink.sysid;
 &olink.resolver;
 </reference>
-
-<reference id="xrefs"><title>Cross References</title>
+<reference xml:id="xrefs"><title>Cross References</title>
 &collect.xref.targets;
 &insert.xref.page.number;
 &use.role.as.xrefstyle;
@@ -229,30 +219,26 @@ $Id$
 &xref.label-title.separator;
 &xref.title-page.separator;
 </reference>
-
-<reference id="lists"><title>Lists</title>
+<reference xml:id="lists"><title>Lists</title>
 &segmentedlist.as.table;
 &variablelist.as.table;
 &variablelist.term.separator;
 &variablelist.term.break.after;
 </reference>
-
-<reference id="biblio"><title>Bibliography</title>
+<reference xml:id="biblio"><title>Bibliography</title>
 &bibliography.style;
 &biblioentry.item.separator;
 &bibliography.collection;
 &bibliography.numbered;
 </reference>
-
-<reference id="glossary"><title>Glossary</title>
+<reference xml:id="glossary"><title>Glossary</title>
 &glossterm.auto.link;
 &firstterm.only.link;
 &glossary.collection;
 &glossary.sort;
 &glossentry.show.acronym;
 </reference>
-
-<reference id="misc"><title>Miscellaneous</title>
+<reference xml:id="misc"><title>Miscellaneous</title>
 &formal.procedures;
 &formal.title.placement;
 &runinhead.default.title.end.punct;
@@ -279,16 +265,14 @@ $Id$
 &highlight.default.language;
 &email.delimiters.enabled;
 </reference>
-
-<reference id="annos"><title>Annotations</title>
+<reference xml:id="annos"><title>Annotations</title>
 &annotation.support;
 &annotation.js;
 &annotation.css;
 &annotation.graphic.open;
 &annotation.graphic.close;
 </reference>
-
-<reference id="graphics"><title>Graphics</title>
+<reference xml:id="graphics"><title>Graphics</title>
 &img.src.path;
 &keep.relative.image.uris;
 &graphic.default.extension;
@@ -301,8 +285,7 @@ $Id$
 &use.role.for.mediaobject;
 &ignore.image.scaling;
 </reference>
-
-<reference id="chunking"><title>Chunking</title>
+<reference xml:id="chunking"><title>Chunking</title>
 &chunker.output.cdata-section-elements;
 &chunker.output.doctype-public;
 &chunker.output.doctype-system;
@@ -334,13 +317,10 @@ $Id$
 &navig.graphics.path;
 &navig.showtitles;
 </reference>
-
-<reference id="profiling"><title>Profiling</title>
-<partintro id="partintro">
-<para>Following parameters can be used for attribute value based
-profiling of your document. For more info about profiling look at
-<ulink
-url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html</ulink>.</para>
+<reference xml:id="profiling"><title>Profiling</title>
+<partintro xml:id="partintro">
+<para>The following parameters can be used for attribute-based
+profiling of your document. FIXME: Add link to Bob’s book.</para>
 </partintro>
 &profile.arch;
 &profile.audience;
@@ -360,8 +340,7 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http:
 &profile.value;
 &profile.separator;
 </reference>
-
-<reference id="htmlhelp"><title>HTML Help</title>
+<reference xml:id="htmlhelp"><title>HTML Help</title>
 &htmlhelp.encoding;
 &htmlhelp.autolabel;
 &htmlhelp.chm;
@@ -412,27 +391,24 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http:
 &htmlhelp.use.hhk;
 &htmlhelp.only;
 </reference>
-
-<reference id="eclipse_help"><title>Eclipse Help Platform</title>
+<reference xml:id="eclipse_help"><title>Eclipse Help Platform</title>
 &eclipse.autolabel;
 &eclipse.plugin.name;
 &eclipse.plugin.id;
 &eclipse.plugin.provider;
 </reference>
-
-<reference id="l10n"><title>Localization</title>
+<reference xml:id="l10n"><title>Localization</title>
 &l10n.gentext.language;
 &l10n.gentext.default.language;
 &l10n.gentext.use.xref.language;
 &l10n.lang.value.rfc.compliant;
 </reference>
-
-<appendix id="stylesheet"><title>The Stylesheet</title>
+<appendix xml:id="stylesheet"><title>The Stylesheet</title>
 
 <para>The <filename>param.xsl</filename> stylesheet is just a wrapper
 around all these parameters.</para>
 
-<src:fragment id="top" mundane-result-prefixes="xsl">
+<src:fragment xml:id="top" mundane-result-prefixes="xsl">
 
 <!-- This file is generated from param.xweb -->
 
@@ -754,5 +730,4 @@ around all these parameters.</para>
 </src:fragment>
 
 </appendix>
-
 </book>
index cf959820d578c060cda4503ec48317dc2c7e2c19..584681132d09d4987f7387f8428c74dd6df1d7a3 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<book xml:id="lib.xml"
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xml:id="lib.xml"
   xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:dyn="http://exslt.org/dynamic"
+  xmlns:ssb="http://sideshowbarker.net/ns"
   xmlns:saxon="http://icl.com/saxon">
   <info>
     <title>XSL Library Template Reference</title>
@@ -24,7 +27,7 @@
       <holder>The DocBook Project</holder>
     </copyright>
   </info>
-  <preface id="intro"><title>Introduction</title>
+  <preface xml:id="intro"><title>Introduction</title>
     <para>This is technical reference documentation for the
       vocabulary-independent “library” templates in the DocBook XSL
       Stylesheets.</para>
 
 <!-- ================================================================== -->
 
-  <reference id="generallibrary">
+  <reference xml:id="generallibrary">
     <title>General Library Templates</title>
 
-<refentry id="dot.count">
+<refentry xml:id="dot.count">
 <refnamediv>
 <refname>dot.count</refname>
 <refpurpose>Returns the number of <quote>.</quote> characters in a string</refpurpose>
@@ -46,7 +49,7 @@
 
 <refsect1><title>Description</title>
 
-<programlisting><src:fragment id='dot.count.frag'>
+<programlisting><src:fragment xml:id='dot.count.frag'>
 <xsl:template name="dot.count">
   <!-- Returns the number of "." characters in a string -->
   <xsl:param name="string"></xsl:param>
@@ -70,7 +73,7 @@
 
 <!-- ================================================================== -->
 
-<refentry id="copy-string">
+<refentry xml:id="copy-string">
 <refnamediv>
 <refname>copy-string</refname>
 <refpurpose>Returns <quote>count</quote> copies of a string</refpurpose>
@@ -78,7 +81,7 @@
 
 <refsect1><title>Description</title>
 
-<programlisting><src:fragment id='copy-string.frag'>
+<programlisting><src:fragment xml:id='copy-string.frag'>
 <xsl:template name="copy-string">
   <!-- returns 'count' copies of 'string' -->
   <xsl:param name="string"></xsl:param>
 
 <!-- ====================================================================== -->
 
-<refentry id="string.subst">
+<refentry xml:id="string.subst">
 <refnamediv>
 <refname>string.subst</refname>
 <refpurpose>Substitute one text string for another in a string</refpurpose>
@@ -121,7 +124,7 @@ occurances of <parameter>target</parameter> in <parameter>string</parameter>
 with <parameter>replacement</parameter> and returns the result.
 </para>
 
-<programlisting><src:fragment id='string.subst.frag'>
+<programlisting><src:fragment xml:id='string.subst.frag'>
 <xsl:template name="string.subst">
   <xsl:param name="string"></xsl:param>
   <xsl:param name="target"></xsl:param>
@@ -153,7 +156,7 @@ with <parameter>replacement</parameter> and returns the result.
 
 <!-- ================================================================== -->
 
-<refentry id="xpointer.idref">
+<refentry xml:id="xpointer.idref">
 <refnamediv>
 <refname>xpointer.idref</refname>
 <refpurpose>Extract IDREF from an XPointer</refpurpose>
@@ -169,7 +172,7 @@ document, or the empty string if it is not.</para>
 or <literal>#xpointer(id('foo'))</literal>, otherwise it returns
 the empty string.</para>
 
-<programlisting><src:fragment id='xpointer.idref.frag'>
+<programlisting><src:fragment xml:id='xpointer.idref.frag'>
 <xsl:template name="xpointer.idref">
   <xsl:param name="xpointer">http://...</xsl:param>
   <xsl:choose>
@@ -192,7 +195,7 @@ the empty string.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="length-magnitude">
+<refentry xml:id="length-magnitude">
 <refnamediv>
 <refname>length-magnitude</refname>
 <refpurpose>Return the unqualified dimension from a length specification</refpurpose>
@@ -204,7 +207,7 @@ the empty string.</para>
 unqualified length ("20" for "20pt") from a dimension.
 </para>
 
-<programlisting><src:fragment id='length-magnitude.frag'>
+<programlisting><src:fragment xml:id='length-magnitude.frag'>
 <xsl:template name="length-magnitude">
   <xsl:param name="length" select="'0pt'"/>
 
@@ -235,7 +238,7 @@ unqualified length ("20" for "20pt") from a dimension.
 
 <!-- ================================================================== -->
 
-<refentry id="length-units">
+<refentry xml:id="length-units">
 <refnamediv>
 <refname>length-units</refname>
 <refpurpose>Return the units from a length specification</refpurpose>
@@ -247,7 +250,7 @@ unqualified length ("20" for "20pt") from a dimension.
 units ("pt" for "20pt") from a length. If no units are supplied on the
 length, the <parameter>defauilt.units</parameter> are returned.</para>
 
-<programlisting><src:fragment id='length-units.frag'>
+<programlisting><src:fragment xml:id='length-units.frag'>
 <xsl:template name="length-units">
   <xsl:param name="length" select="'0pt'"/>
   <xsl:param name="default.units" select="'px'"/>
@@ -277,7 +280,7 @@ length, the <parameter>defauilt.units</parameter> are returned.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="length-spec">
+<refentry xml:id="length-spec">
 <refnamediv>
 <refname>length-spec</refname>
 <refpurpose>Return a fully qualified length specification</refpurpose>
@@ -290,7 +293,7 @@ qualified length from a dimension. If an unqualified length is given,
 the <parameter>default.units</parameter> will be added to it.
 </para>
 
-<programlisting><src:fragment id='length-spec.frag'>
+<programlisting><src:fragment xml:id='length-spec.frag'>
 <xsl:template name="length-spec">
   <xsl:param name="length" select="'0pt'"/>
   <xsl:param name="default.units" select="'px'"/>
@@ -335,7 +338,7 @@ the <parameter>default.units</parameter> will be added to it.
 
 <!-- ================================================================== -->
 
-<refentry id="length-in-points">
+<refentry xml:id="length-in-points">
 <refnamediv>
 <refname>length-in-points</refname>
 <refpurpose>Returns the size, in points, of a specified length</refpurpose>
@@ -359,7 +362,7 @@ which is initially <literal>10</literal> (for 10pt).</para>
 </para>
 </caution>
 
-<programlisting><src:fragment id='length-in-points.frag'>
+<programlisting><src:fragment xml:id='length-in-points.frag'>
 <xsl:template name="length-in-points">
   <xsl:param name="length" select="'0pt'"/>
   <xsl:param name="em.size" select="10"/>
@@ -413,7 +416,7 @@ which is initially <literal>10</literal> (for 10pt).</para>
 
 <!-- ================================================================== -->
 
-<refentry id="pi-attribute">
+<refentry xml:id="pi-attribute">
 <refnamediv>
 <refname>pi-attribute</refname>
 <refpurpose>Extract a pseudo-attribute from a PI</refpurpose>
@@ -433,7 +436,7 @@ attribute that it finds. Presented with processing instructions that
 contain badly formed pseudo-attributes (missing or unbalanced quotes,
 for example), the template may silently return erroneous results.</para>
 
-<programlisting><src:fragment id='pi-attribute.frag'>
+<programlisting><src:fragment xml:id='pi-attribute.frag'>
 <xsl:template name="pi-attribute">
   <xsl:param name="pis" select="processing-instruction('BOGUS_PI')"/>
   <xsl:param name="attribute">filename</xsl:param>
@@ -474,7 +477,7 @@ for example), the template may silently return erroneous results.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="lookup.key">
+<refentry xml:id="lookup.key">
 <refnamediv>
 <refname>lookup.key</refname>
 <refpurpose>Retrieve the value associated with a particular key in a table</refpurpose>
@@ -486,7 +489,7 @@ for example), the template may silently return erroneous results.</para>
 the <function>lookup.key</function> template extracts the value associated
 with a particular key.</para>
 
-<programlisting><src:fragment id='lookup.key.frag'>
+<programlisting><src:fragment xml:id='lookup.key.frag'>
 <xsl:template name="lookup.key">
   <xsl:param name="key" select="''"/>
   <xsl:param name="table" select="''"/>
@@ -521,7 +524,7 @@ with a particular key.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="xpath.location">
+<refentry xml:id="xpath.location">
 <refnamediv>
 <refname>xpath.location</refname>
 <refpurpose>Calculate the XPath child-sequence to the current node</refpurpose>
@@ -533,7 +536,7 @@ with a particular key.</para>
 absolute path from the root of the tree to the current element node.
 </para>
 
-<programlisting><src:fragment id='xpath.location.frag'>
+<programlisting><src:fragment xml:id='xpath.location.frag'>
 <xsl:template name="xpath.location">
   <xsl:param name="node" select="."/>
   <xsl:param name="path" select="''"/>
@@ -564,7 +567,7 @@ absolute path from the root of the tree to the current element node.
 
 <!-- ================================================================== -->
 
-<refentry id="comment-escape-string">
+<refentry xml:id="comment-escape-string">
 <refnamediv>
 <refname>comment-escape-string</refname>
 <refpurpose>Prepare a string for inclusion in an XML comment</refpurpose>
@@ -577,7 +580,7 @@ that has been transformed so that it can safely be output as an XML comment.
 Internal occurrences of "--" will be replaced with "- -" and a leading and/or
 trailing space will be added to the string, if necessary.</para>
 
-<programlisting><src:fragment id='comment-escape-string.frag'>
+<programlisting><src:fragment xml:id='comment-escape-string.frag'>
 <xsl:template name="comment-escape-string">
   <xsl:param name="string" select="''"/>
 
@@ -600,7 +603,7 @@ trailing space will be added to the string, if necessary.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="comment-escape-string.recursive">
+<refentry xml:id="comment-escape-string.recursive">
 <refnamediv>
 <refname>comment-escape-string.recursive</refname>
 <refpurpose>Internal function used by comment-escape-string</refpurpose>
@@ -611,7 +614,7 @@ trailing space will be added to the string, if necessary.</para>
 <para>The <function>comment-escape-string.recursive</function> template is used
 by <function>comment-escape-string</function>.</para>
 
-<programlisting><src:fragment id="comment-escape-string.recursive.frag">
+<programlisting><src:fragment xml:id="comment-escape-string.recursive.frag">
 <xsl:template name="comment-escape-string.recursive">
   <xsl:param name="string" select="''"/>
   <xsl:choose>
@@ -633,7 +636,7 @@ by <function>comment-escape-string</function>.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="trim.text">
+<refentry xml:id="trim.text">
 <refnamediv>
 <refname>trim.text</refname>
 <refpurpose>Trim leading and trailing whitespace from a text node</refpurpose>
@@ -644,7 +647,7 @@ by <function>comment-escape-string</function>.</para>
 <para>Given a text node, this function trims leading and trailing
 whitespace from it and returns the trimmed contents.</para>
 
-<programlisting><src:fragment id='trim.text.frag'>
+<programlisting><src:fragment xml:id='trim.text.frag'>
 
   <xsl:template name="trim.text">
     <xsl:param name="contents" select="."/>
@@ -705,100 +708,93 @@ whitespace from it and returns the trimmed contents.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="str.tokenize.keep.delimiters">
+<refentry xml:id="str.tokenize.keep.delimiters">
 <refnamediv>
 <refname>str.tokenize.keep.delimiters</refname>
 <refpurpose>Tokenize a string while preserving any delimiters</refpurpose>
 </refnamediv>
-
 <refsect1><title>Description</title>
-
 <para>Based on the occurrence of one or more delimiter characters,
 this function breaks a string into a list of tokens and delimiters,
-marking up each of the tokens with a <sgmltag>token</sgmltag> element
+marking up each of the tokens with a <tag>token</tag> element
 and preserving the delimiters as text nodes between the tokens.</para>
-
 <note>
   <para>This function is a very slightly modified version of a
-  function from the <ulink url="http://www.exslt.org/">EXSLT
-  site</ulink>. The original is available at:
+  function from the <link xlink:href="http://www.exslt.org/">EXSLT
+  site</link>. The original is available at:
 
-  <blockquote><para><ulink url="http://www.exslt.org/str/functions/tokenize/str.tokenize.template.xsl"/></para></blockquote>
+<blockquote><para><link
+      xlink:href="http://www.exslt.org/str/functions/tokenize/str.tokenize.template.xsl"/></para></blockquote>
 
   The <function>str.tokenize.keep.delimiters</function> function
   differs only in that it preserves the delimiters instead of
   discarding them.</para>
 </note>
-
-<programlisting><src:fragment id='str.tokenize.keep.delimiters.frag'>
-
+<programlisting><src:fragment xml:id='str.tokenize.keep.delimiters.frag'>
   <xsl:template name="str.tokenize.keep.delimiters">
     <xsl:param name="string" select="''" />
     <xsl:param name="delimiters" select="' '" />
     <xsl:choose>
       <xsl:when test="not($string)" />
       <xsl:when test="not($delimiters)">
-       <xsl:call-template name="str.tokenize.keep.delimiters-characters">
-         <xsl:with-param name="string" select="$string" />
-       </xsl:call-template>
+        <xsl:call-template name="str.tokenize.keep.delimiters-characters">
+          <xsl:with-param name="string" select="$string" />
+        </xsl:call-template>
       </xsl:when>
       <xsl:otherwise>
-       <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
-         <xsl:with-param name="string" select="$string" />
-         <xsl:with-param name="delimiters" select="$delimiters" />
-       </xsl:call-template>
+        <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
+          <xsl:with-param name="string" select="$string" />
+          <xsl:with-param name="delimiters" select="$delimiters" />
+        </xsl:call-template>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
-  
   <xsl:template name="str.tokenize.keep.delimiters-characters">
     <xsl:param name="string" />
     <xsl:if test="$string">
-      <token><xsl:value-of select="substring($string, 1, 1)" /></token>
+      <ssb:token><xsl:value-of select="substring($string, 1, 1)" /></ssb:token>
       <xsl:call-template name="str.tokenize.keep.delimiters-characters">
-       <xsl:with-param name="string" select="substring($string, 2)" />
+        <xsl:with-param name="string" select="substring($string, 2)" />
       </xsl:call-template>
     </xsl:if>
   </xsl:template>
-  
   <xsl:template name="str.tokenize.keep.delimiters-delimiters">
     <xsl:param name="string" />
     <xsl:param name="delimiters" />
     <xsl:variable name="delimiter" select="substring($delimiters, 1, 1)" />
     <xsl:choose>
       <xsl:when test="not($delimiter)">
-       <token><xsl:value-of select="$string" /></token>
+        <ssb:token><xsl:value-of select="$string" /></ssb:token>
       </xsl:when>
       <xsl:when test="contains($string, $delimiter)">
-       <xsl:if test="not(starts-with($string, $delimiter))">
-         <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
-           <xsl:with-param name="string" select="substring-before($string, $delimiter)" />
-           <xsl:with-param name="delimiters" select="substring($delimiters, 2)" />
-         </xsl:call-template>
-       </xsl:if>
-       <!-- output each delimiter -->
-       <xsl:value-of select="$delimiter"/>
-       <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
-         <xsl:with-param name="string" select="substring-after($string, $delimiter)" />
-         <xsl:with-param name="delimiters" select="$delimiters" />
-       </xsl:call-template>
+        <xsl:if test="not(starts-with($string, $delimiter))">
+          <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
+            <xsl:with-param name="string" select="substring-before($string, $delimiter)" />
+            <xsl:with-param name="delimiters" select="substring($delimiters, 2)" />
+          </xsl:call-template>
+        </xsl:if>
+        <!-- output each delimiter -->
+        <xsl:value-of select="$delimiter"/>
+        <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
+          <xsl:with-param name="string" select="substring-after($string, $delimiter)" />
+          <xsl:with-param name="delimiters" select="$delimiters" />
+        </xsl:call-template>
       </xsl:when>
       <xsl:otherwise>
-       <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
-         <xsl:with-param name="string" select="$string" />
-         <xsl:with-param name="delimiters" select="substring($delimiters, 2)" />
-       </xsl:call-template>
+        <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
+          <xsl:with-param name="string" select="$string" />
+          <xsl:with-param name="delimiters" select="substring($delimiters, 2)" />
+        </xsl:call-template>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
 </src:fragment></programlisting>
-
 </refsect1>
 </refentry>
 
 <!-- ================================================================== -->
 
-<refentry id="apply-string-subst-map">
+<refentry xml:id="apply-string-subst-map">
   <refnamediv>
     <refname>apply-string-subst-map</refname>
     <refpurpose>Apply a string-substitution map</refpurpose>
@@ -830,11 +826,11 @@ and preserving the delimiters as text nodes between the tokens.</para>
   <note>
     <para>This function is a very slightly modified version of Jeni
     Tennison's <function>replace_strings</function> function in the
-    <ulink
-    url="http://www.dpawson.co.uk/xsl/sect2/StringReplace.html#d9351e13"
-    >multiple string replacements</ulink> section of Dave Pawson's
-    <ulink url="http://www.dpawson.co.uk/xsl/index.html" >XSLT
-    FAQ</ulink>.</para>
+    <link
+      xlink:href="http://www.dpawson.co.uk/xsl/sect2/StringReplace.html#d9351e13"
+    >multiple string replacements</link> section of Dave Pawson’s
+    <link xlink:href="http://www.dpawson.co.uk/xsl/index.html" >XSLT
+    FAQ</link>.</para>
 
     <para>The <function>apply-string-subst-map</function> function is
     essentially the same function as the
@@ -847,7 +843,7 @@ and preserving the delimiters as text nodes between the tokens.</para>
     class="attribute">string</tag> attributes.</para>
   </note>
 
-  <programlisting><src:fragment id='apply-string-subst-map.frag'>
+  <programlisting><src:fragment xml:id='apply-string-subst-map.frag'>
     <xsl:template name="apply-string-subst-map">
       <xsl:param name="content"/>
       <xsl:param name="map.contents"/>
@@ -880,7 +876,7 @@ and preserving the delimiters as text nodes between the tokens.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="apply-character-map">
+<refentry xml:id="apply-character-map">
   <refnamediv>
     <refname>apply-character-map</refname>
     <refpurpose>Apply an XSLT character map</refpurpose>
@@ -888,11 +884,11 @@ and preserving the delimiters as text nodes between the tokens.</para>
 
   <refsect1><title>Description</title>
 
-  <para>This function applies an <ulink
-  url="http://www.w3.org/TR/xslt20/#character-maps">XSLT character
-  map</ulink>; that is, it cause certain individual characters to be
+  <para>This function applies an <link
+  xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character
+  map</link>; that is, it cause certain individual characters to be
   substituted with strings of one or more characters. It is useful
-  mainly for replacing multiple "special" chararacters or symbols in
+  mainly for replacing multiple "special" characters or symbols in
   the same target content. It reads in two things:
   <parameter>content</parameter>, the content on which to perform the
   substitution, and <parameter>map.contents</parameter>, a
@@ -914,12 +910,12 @@ and preserving the delimiters as text nodes between the tokens.</para>
 
   <note>
     <para>This function is a very slightly modified version of Jeni
-    Tennison's <function>replace_strings</function> function in the
-    <ulink
-        url="http://www.dpawson.co.uk/xsl/sect2/StringReplace.html#d9351e13"
-        >multiple string replacements</ulink> section of Dave Pawson's
-    <ulink url="http://www.dpawson.co.uk/xsl/index.html" >XSLT
-    FAQ</ulink>.</para>
+    Tennisons <function>replace_strings</function> function in the
+    <link
+        xlink:href="http://www.dpawson.co.uk/xsl/sect2/StringReplace.html#d9351e13"
+        >multiple string replacements</link> section of Dave Pawson’s
+    <link xlink:href="http://www.dpawson.co.uk/xsl/index.html" >XSLT
+    FAQ</link>.</para>
 
     <para>The <function>apply-string-subst-map</function> function is
     essentially the same function as the
@@ -932,7 +928,7 @@ and preserving the delimiters as text nodes between the tokens.</para>
     class="attribute">string</tag> attributes.</para>
   </note>
 
-  <programlisting><src:fragment id='apply-character-map.frag'>
+  <programlisting><src:fragment xml:id='apply-character-map.frag'>
     <xsl:template name="apply-character-map">
       <xsl:param name="content"/>
       <xsl:param name="map.contents"/>
@@ -965,7 +961,7 @@ and preserving the delimiters as text nodes between the tokens.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="read-character-map">
+<refentry xml:id="read-character-map">
 <refnamediv>
 <refname>read-character-map</refname>
 <refpurpose>Read in all or part of an XSLT character map</refpurpose>
@@ -973,9 +969,9 @@ and preserving the delimiters as text nodes between the tokens.</para>
 
 <refsect1><title>Description</title>
 
-<para>The XSLT 2.0 specification describes <ulink
-url="http://www.w3.org/TR/xslt20/#character-maps">character
-maps</ulink> and explains how they may be used to allow a specific
+<para>The XSLT 2.0 specification describes <link
+xlink:href="http://www.w3.org/TR/xslt20/#character-maps">character
+maps</link> and explains how they may be used to allow a specific
 character appearing in a text or attribute node in a final results
 tree to be substituted by a specified string of characters during
 serialization. The <function>read-character-map</function> function
@@ -995,7 +991,7 @@ given in the value of the <parameter>subset.profile</parameter>
 parameter. The current implementation of that capability here relies
 on the <function>evaluate</function> extension XSLT function.</para>
 
-<programlisting><src:fragment id='read-character-map.frag'>
+<programlisting><src:fragment xml:id='read-character-map.frag'>
   <xsl:template name="read-character-map">
     <xsl:param name="use.subset"/>
     <xsl:param name="subset.profile"/>
@@ -1038,10 +1034,10 @@ does not support it.
 
 <!-- ==================================================================  -->
 
-<reference id="relativeuri">
+<reference xml:id="relativeuri">
 <title>Relative URI Functions</title>
 
-<partintro id="partintro"><title>Introduction</title>
+<partintro xml:id="partintro"><title>Introduction</title>
 
 <para>These functions manipulate relative URI references.</para>
 
@@ -1063,7 +1059,7 @@ which would effectively move <quote>up</quote> the hierarchy.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="count.uri.path.depth">
+<refentry xml:id="count.uri.path.depth">
 <refnamediv>
 <refname>count.uri.path.depth</refname>
 <refpurpose>Count the number of path components in a relative URI</refpurpose>
@@ -1073,7 +1069,7 @@ which would effectively move <quote>up</quote> the hierarchy.</para>
 
 <para>This function counts the number of path components in a relative URI.</para>
 
-<programlisting><src:fragment id='count.uri.path.depth.frag'>
+<programlisting><src:fragment xml:id='count.uri.path.depth.frag'>
 <xsl:template name="count.uri.path.depth">
   <xsl:param name="filename" select="''"/>
   <xsl:param name="count" select="0"/>
@@ -1097,7 +1093,7 @@ which would effectively move <quote>up</quote> the hierarchy.</para>
 
 <!-- ================================================================== -->
 
-<refentry id="trim.common.uri.paths">
+<refentry xml:id="trim.common.uri.paths">
 <refnamediv>
 <refname>trim.common.uri.paths</refname>
 <refpurpose>Trim common leading path components from a relative URI</refpurpose>
@@ -1107,7 +1103,7 @@ which would effectively move <quote>up</quote> the hierarchy.</para>
 
 <para>This function trims common leading path components from a relative URI.</para>
 
-<programlisting><src:fragment id='trim.common.uri.paths.frag'>
+<programlisting><src:fragment xml:id='trim.common.uri.paths.frag'>
 <xsl:template name="trim.common.uri.paths">
   <xsl:param name="uriA" select="''"/>
   <xsl:param name="uriB" select="''"/>
@@ -1143,12 +1139,12 @@ which would effectively move <quote>up</quote> the hierarchy.</para>
 
 <!-- ================================================================== -->
 
-<appendix id="stylesheet"><title>The Stylesheet</title>
+<appendix xml:id="stylesheet"><title>The Stylesheet</title>
 
 <para>The <filename>lib.xsl</filename> stylesheet is just a wrapper
 around these functions.</para>
 
-<src:fragment id="top" mundane-result-prefixes="xsl">
+<src:fragment xml:id="top" mundane-result-prefixes="xsl">
 
 <!-- ********************************************************************
      $Id$
index 8759779b767a87f05759963d8b8a000712bb53c5..4612874ff7e97566efc92c576904db4222b46ea0 100644 (file)
@@ -2,10 +2,12 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
-      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-  <bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  >
+  <info>
     <title>Manpages Parameter Reference</title>
     <releaseinfo role="meta">
       $Id$
       parameters in the DocBook XSL "manpages" stylesheet (for
       generating groff/nroff output). Note that the manpages
       stylesheet is a customization layer of the DocBook XSL HTML
-      stylesheet. Therefore, you can also use a number of <ulink
-      url="http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html"
-      >HTML stylesheet parameters</ulink> to control manpages output
-      (in addition to the manpages-specific parameters listed in this
-      section).</para>
+      stylesheet. Therefore, you can also use a number of <link
+        xlink:href="../html/" >HTML stylesheet parameters</link>
+      to control manpages output (in addition to the
+      manpages-specific parameters listed in this section).</para>
     </abstract>
-  </bookinfo>
-
-  <reference id="general">
+  </info>
+  <reference xml:id="general">
   <title>Hyphenation, justification, and breaking</title>
 &man.hyphenate;
 &man.hyphenate.urls;
@@ -39,7 +39,7 @@
 &man.justify;
 &man.break.after.slash;
   </reference>
-  <reference id="indent">
+  <reference xml:id="indent">
   <title>Indentation</title>
 &man.indent.width;
 &man.indent.refsect;
 &man.indent.lists;
 &man.indent.verbatims;
   </reference>
-  <reference id="fonts">
+  <reference xml:id="fonts">
   <title>Fonts</title>
 &man.font.funcprototype;
 &man.font.funcsynopsisinfo;
 &man.font.table.headings;
 &man.font.table.title;
   </reference>
-  <reference id="endnotes">
+  <reference xml:id="endnotes">
   <title>Endnotes and link handling</title>
 &man.endnotes.list.enabled;
 &man.endnotes.list.heading;
 &man.endnotes.are.numbered;
 &man.links.are.underlined;
   </reference>
-  <reference id="lists">
+  <reference xml:id="lists">
   <title>Lists</title>
 &man.segtitle.suppress;
   </reference>
-  <reference id="charmap">
+  <reference xml:id="charmap">
   <title>Character/string substitution</title>
 &man.charmap.enabled;
 &man.charmap.uri;
@@ -75,7 +75,7 @@
 &man.string.subst.map;
 &man.string.subst.map.local.post;
   </reference>
-  <reference id="refmeta">
+  <reference xml:id="refmeta">
   <title>Refentry metadata gathering</title>
 &refentry.meta.get.quietly;
 &refentry.date.profile;
@@ -91,7 +91,7 @@
 &refentry.manual.fallback.profile;
 &refentry.source.fallback.profile;
   </reference>
-  <reference id="th">
+  <reference xml:id="th">
   <title>Page header/footer</title>
 &man.th.extra1.suppress;
 &man.th.extra2.suppress;
 &man.th.extra2.max.length;
 &man.th.extra3.max.length;
   </reference>
-  <reference id="output">
+  <reference xml:id="output">
   <title>Output</title>
 &man.output.manifest.enabled;
 &man.output.manifest.filename;
 &man.output.quietly;
 &man.output.encoding;
   </reference>
-  <reference id="other">
+  <reference xml:id="other">
   <title>Other</title>
 &man.table.footnotes.divider;
 &man.subheading.divider.enabled;
 &man.subheading.divider;
   </reference>
-  <appendix id="stylesheet">
+  <appendix xml:id="stylesheet">
     <title>The Stylesheet</title>
 
     <para>The <filename>param.xsl</filename> stylesheet is just a
     wrapper around all of these parameters.</para>
 
-    <src:fragment id='top' mundane-result-prefixes='xsl'>
+    <src:fragment xml:id='top' mundane-result-prefixes='xsl'>
 <xsl:stylesheet xmlns='http://www.w3.org/1999/XSL/Transform'
-               exclude-result-prefixes='src'
-               version='1.0'>
+  exclude-result-prefixes='src'
+  version='1.0'>
 
 <!-- This file is generated from param.xweb -->
 
index aed20c6c378e7e5cdbf031542deeed727b014816..89eb98b4299ccd3f484d3f7a847c141924732f70 100644 (file)
@@ -2,17 +2,21 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
-      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-  <bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  >
+  <info>
     <title>Roundtrip Parameter Reference</title>
     <releaseinfo role="meta">
       $Id$
     </releaseinfo>
     <author>
+      <personname>
       <surname>Ball</surname>
       <firstname>Steve</firstname>
+      </personname>
     </author>
     <copyright>
       <year>2007</year>
       transforming DocBook to WordML, OpenDocument, and Apple Pages,
       and for converting from those formats back to DocBook).</para>
     </abstract>
-  </bookinfo>
-
-  <reference id="params">
+  </info>
+  <reference xml:id="params">
   <title>Parameters</title>
 &wordml.template;
 &pages.template;
   </reference>
-  <appendix id="stylesheet">
+  <appendix xml:id="stylesheet">
     <title>The Stylesheet</title>
-
-    <para>The <filename>param.xsl</filename> stylesheet is just a wrapper around all of these parameters.</para>
-
-    <src:fragment id='top' mundane-result-prefixes='xsl'>
+    <para>The <filename>param.xsl</filename> stylesheet is just a
+      wrapper around all of these parameters.</para>
+    <src:fragment xml:id='top' mundane-result-prefixes='xsl'>
 <xsl:stylesheet xmlns='http://www.w3.org/1999/XSL/Transform'
-               exclude-result-prefixes='src'
-               version='1.0'>
+  exclude-result-prefixes='src'
+  version='1.0'>
 
 <!-- This file is generated from param.xweb -->
 
@@ -60,6 +62,5 @@
 <src:fragref linkend="pages.template.frag"/>
 </xsl:stylesheet>
     </src:fragment>
-
   </appendix>
 </book>
index b1cef6144d1f36d78c0896912fce989b0204626b..647986adffb89a6241192aabf4e5adee85e5e529 100644 (file)
@@ -2,15 +2,21 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" id="slides_fo_doc">
-<bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xml:id="slides_fo_doc">
+<info>
 <title>Slides FO Parameter Reference</title>
 <releaseinfo role="meta">
 $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </releaseinfo>
 <author>
-  <surname>Walsh</surname>
-  <firstname>Norman</firstname>
+  <personname>
+    <surname>Walsh</surname>
+    <firstname>Norman</firstname>
+  </personname>
 </author>
 <copyright>
   <year>2002</year>
@@ -18,26 +24,24 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </copyright>
 <abstract>
   <para>This is reference documentation for all user-configurable
-  parameters in the DocBook XSL Slides FO stylesheet (for generating
-  PDF slide presentations). Note that qthe Slides stylesheet for FO
-  output is a customization layer of the DocBook XSL FO
-  stylesheet. Therefore, in addition to the slides-specific parameters
-  listed in this section, you can also use a number of <ulink
-  url="http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html"
-  >FO stylesheet parameters</ulink> to control Slides FO output.</para>
+    parameters in the DocBook XSL Slides FO stylesheet (for
+    generating PDF slide presentations). Note that the Slides
+    stylesheet for FO output is a customization layer of the
+    DocBook XSL FO stylesheet. Therefore, in addition to the
+    slides-specific parameters listed in this section, you can
+    also use a number of <link xlink:href="../fo/" >FO stylesheet
+    parameters</link> to control Slides FO output.</para>
 </abstract>
-</bookinfo>
-
-<reference id="slides_fo_general_params">
-  <title>General Params</title>
+</info>
+<reference xml:id="slides_fo_general_params">
+  <title>FO: General Params</title>
 &slide.title.font.family;
 &slide.font.family;
 &foil.title.master;
 &foil.title.size;
 </reference>
-
-<reference id="slides_fo_property_sets">
-  <title>Property Sets</title>
+<reference xml:id="slides_fo_property_sets">
+  <title>FO: Property Sets</title>
 &slides.properties;
 &foilgroup.properties;
 &foil.subtitle.properties;
@@ -45,9 +49,8 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 &speakernote.properties;
 &running.foot.properties;
 </reference>
-
 <!--
-<refentry id="">
+<refentry xml:id="">
 <refmeta>
 <refentrytitle></refentrytitle>
 <refmiscinfo role="type">string</refmiscinfo>
@@ -58,7 +61,7 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </refnamediv>
 
 <refsynopsisdiv>
-<src:fragment id='.frag'>
+<src:fragment xml:id='.frag'>
 <xsl:param name="" select="''"/>
 </src:fragment>
 </refsynopsisdiv>
@@ -70,13 +73,12 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </refsect1>
 </refentry>
 -->
-
-<appendix id="styleheet"><title>The Stylesheet</title>
+<appendix xml:id="styleheet"><title>The Stylesheet</title>
 
 <para>The <filename>param.xsl</filename> stylesheet is just a wrapper
 around all these parameters.</para>
 
-<src:fragment id="top" mundane-result-prefixes="xsl">
+<src:fragment xml:id="top" mundane-result-prefixes="xsl">
 
 <!-- This file is generated from param.xweb -->
 
@@ -107,5 +109,4 @@ around all these parameters.</para>
 </src:fragment>
 
 </appendix>
-
 </book>
index bc888c64daf25466c911355cb9dbf2a6eb6b3cb5..320b52f94abf41ff5a4e228ce4613be1157d4154 100644 (file)
@@ -2,15 +2,21 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" id="slides_html_doc">
-<bookinfo>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
+  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xml:id="slides_html_doc">
+<info>
 <title>Slides HTML Parameter Reference</title>
 <releaseinfo role="meta">
 $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </releaseinfo>
 <author>
-  <surname>Walsh</surname>
-  <firstname>Norman</firstname>
+  <personname>
+    <surname>Walsh</surname>
+    <firstname>Norman</firstname>
+  </personname>
 </author>
 <copyright>
   <year>2002</year>
@@ -18,18 +24,18 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </copyright>
 <abstract>
   <para>This is reference documentation for all user-configurable
-  parameters in the DocBook XSL Slides HTML stylesheet (for generating
-  HTML slide presentations). Note that the Slides stylesheet for HTML
-  output is a customization layer of the DocBook XSL HTML
-  stylesheet. Therefore, in addition to the slides-specific parameters
-  listed in this section, you can also use a number of <ulink
-  url="http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html"
-  >HTML stylesheet parameters</ulink> to control Slides HTML output.</para>
+    parameters in the DocBook XSL Slides HTML stylesheet (for
+    generating HTML slide presentations). Note that the Slides
+    stylesheet for HTML output is a customization layer of the
+    DocBook XSL HTML stylesheet. Therefore, in addition to the
+    slides-specific parameters listed in this section, you can
+    also use a number of <link xlink:href="../html/" >HTML
+    stylesheet parameters</link> to control Slides HTML
+    output.</para>
 </abstract>
-</bookinfo>
-
-<reference id="html_general_params">
-<title>General Parameters</title>
+</info>
+<reference xml:id="html_general_params">
+<title>HTML: General Parameters</title>
 &keyboard.nav;
 &css.stylesheet;
 &css.stylesheet.dir;
@@ -40,9 +46,8 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 &overlay;
 &show.foil.number;
 </reference>
-
-<reference id="html_frame_params">
-<title>Frame Parameters</title>
+<reference xml:id="html_frame_params">
+<title>HTML: Frame Parameters</title>
 &nav.separator;
 &toc.row.height;
 &toc.bg.color;
@@ -57,9 +62,8 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 &multiframe.bottom.bgcolor;
 &multiframe.navigation.height;
 </reference>
-
-<reference id="html_graphic_parms">
-<title>Graphics Parameters</title>
+<reference xml:id="html_graphic_parms">
+<title>HTML: Graphics Parameters</title>
 &graphics.dir;
 &bullet.image;
 &next.image;
@@ -79,9 +83,8 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 &hidetoc.image;
 &showtoc.image;
 </reference>
-
-<reference id="html_javascript_params">
-<title>JavaScript Parameters</title>
+<reference xml:id="html_javascript_params">
+<title>HTML: JavaScript Parameters</title>
 &script.dir;
 &ua.js;
 &xbDOM.js;
@@ -91,16 +94,15 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 &overlay.js;
 &slides.js;
 </reference>
-
-<reference id="html_l10n_params">
-<title>Localization Parameters</title>
+<reference xml:id="html_l10n_params">
+<title>HTML: Localization Parameters</title>
 &text.home;
 &text.toc;
 &text.prev;
 &text.up;
 &text.next;
 <!--
-<refentry id="">
+<refentry xml:id="">
 <refmeta>
 <refentrytitle></refentrytitle>
 <refmiscinfo role="type">string</refmiscinfo>
@@ -111,7 +113,7 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 </refnamediv>
 
 <refsynopsisdiv>
-<src:fragment id='.frag'>
+<src:fragment xml:id='.frag'>
 <xsl:param name="" select="''"/>
 </src:fragment>
 </refsynopsisdiv>
@@ -125,13 +127,12 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
 -->
 
 </reference>
-
-<appendix id="styleheet"><title>The Stylesheet</title>
+<appendix xml:id="styleheet"><title>The Stylesheet</title>
 
 <para>The <filename>param.xsl</filename> stylesheet is just a wrapper
 around all these parameters.</para>
 
-<src:fragment id="top" mundane-result-prefixes="xsl">
+<src:fragment xml:id="top" mundane-result-prefixes="xsl">
 
 <!-- This file is generated from param.xweb -->
 
@@ -203,5 +204,4 @@ around all these parameters.</para>
 </src:fragment>
 
 </appendix>
-
 </book>
index 4cd40671fe13afb7063a6cd92aaf21531214e00e..ea0aecc3dca6d0bb1530478782c6984f0af9b961 100644 (file)
@@ -2,17 +2,21 @@
 <!ENTITY % param.ent SYSTEM "param.ent">
 %param.ent;
 ]>
-<book
+<book xmlns="http://docbook.org/ns/docbook" version="5.0"
    xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
-   xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<bookinfo>
+   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   >
+<info>
 <title>Website Parameter Reference</title>
 <releaseinfo role="meta">
 $Id$
 </releaseinfo>
 <author>
-  <surname>Walsh</surname>
-  <firstname>Norman</firstname>
+  <personname>
+    <surname>Walsh</surname>
+    <firstname>Norman</firstname>
+  </personname>
 </author>
 <copyright>
   <year>2002-2005</year>
@@ -20,18 +24,16 @@ $Id$
 </copyright>
 <abstract>
   <para>This is reference documentation for all user-configurable
-  parameters in the DocBook XSL Website stylesheet (for generating
-  websites from DocBook XML sources). Note that the Website stylesheet
-  is a customization layer of the DocBook XSL HTML stylesheet.
-  Therefore, in addition to the Website-specific parameters listed in
-  this section, you can also use a number of <ulink
-  url="http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html"
-  >HTML stylesheet parameters</ulink> to control Website
-  output.</para>
+    parameters in the DocBook XSL Website stylesheet (for
+    generating websites from DocBook XML sources). Note that the
+    Website stylesheet is a customization layer of the DocBook XSL
+    HTML stylesheet.  Therefore, in addition to the
+    Website-specific parameters listed in this section, you can
+    also use a number of <link xlink:href="../html/" >HTML
+     stylesheet parameters</link> to control Website output.</para>
 </abstract>
-</bookinfo>
-
-<reference id="params">
+</info>
+<reference xml:id="params">
 <title>Parameters</title>
 &header.hr;
 &footer.hr;
@@ -64,13 +66,12 @@ $Id$
 &banner.before.navigation;
 &table.spacer.image;
 </reference>
-
-<appendix id="stylesheet"><title>The Stylesheet</title>
+<appendix xml:id="stylesheet"><title>The Stylesheet</title>
 
 <para>The <filename>param.xsl</filename> stylesheet is just a wrapper
 around all these parameters.</para>
 
-<src:fragment id="top" mundane-result-prefixes="xsl">
+<src:fragment xml:id="top" mundane-result-prefixes="xsl">
 
 <!-- This file is generated from param.xweb -->
 
@@ -121,5 +122,4 @@ around all these parameters.</para>
 </src:fragment>
 
 </appendix>
-
 </book>